public class Test { public static void main(String[] args){ float x = 0, y = 0; x = (float) (0.3 + 0.4); y = 0.3f + 0.4f; System.out.println(x==y); } }
Login in to like
Login in to comment
or Read more about Java Quizzes
Login in to like
Login in to comment