Could anyone please me why the output of the following programme is not \" different different\"?
public static void main(String[] args) { float f1=3.2f; fl
Also, I think anything with a decimal defaults into a double, so when you do a comparison, you have to add 'f' as well like if(f2==6.4f).
if(f2==6.4f)