int a=1;
float b=1.0;
System.out.println(a==b);
Answer Posted / narasimha
i am sorry to say anil even if you put double in place
float also you are going to get flase not true.
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
Why is sizeof not a function?
What is mnemonic in assembly language?
What is a concrete classes? Is Java object class is concrete class?
What is difference between == equals () and compareto () method?
What is the difference between the paint() and repaint() methods in java programming?
What an i/o filter?
Wha is the output from system.out.println(“hello”+null); ?
Is null or empty java?
What is scope of a variable?
What are design patterns and please explain?
Explain about anonymous inner classes ?
what is mutual exclusion? : Java thread
What is immutable data?
What is the difference between call by reference and call by pointer?
What is bigger kb or mb?