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
How to sort numbers in java without array?
What is struts in java?
Why are arrays useful in java?
Explain serialization and deserialization in java?
Write a program to print fibonacci series up to count 10.
What is jrmp?
What is array and arraylist in java?
What is executor memory?
Give reasons supporting that string is immutable.
who can i handle multiple client in RMI
What is nextline method in java?
What is the method in java?
What are streams in java 8?
How do you convert int to char in java?
Write a program to solve producer consumer problem in java?