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
can I implement my own start() method? : Java thread
What does it mean to be immutable?
What is difference between hashset and hashmap?
Is char a data type in java?
What is the difference between assignment and initialization?
What is structure of java heap? What is perm gen space in heap?
How strings are created in java?
What are the new features in java 8?
What is the difference between hashmap and hashtable in java?
What are parameters in a method?
What is difference between synchronize and concurrent collection in java?
What is the difference between super class & sub class?
What is the type of lambda expression?
Explain the difference between intermediate and terminal operations in java8?
Which is the best sorting technique in java?