class Fun { public static void main(String[] args) throws Exception { float f = 1f; int x = f == 1f ? 1 : 2; } }