public class Test {
public static void main(String [] args) {
float f = 29.1f;
double d = 29.1;
System.out.println( f == d );
f = 29.1f;
d = 29.1f;
System.out.println( f == d );
int i = 1;
long l = 1L;
System.out.println( i == l );
}
}
Login in to like
Login in to comment