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
What are methods in java?
What is the use of singleton class?
Why object class is super class for every class in java?
What happens to the Exception object after handling an exception?
What is thread start?
What is the method to declare member of a class static?
Explain creating threads by extending thread class ?
What mechanism does java use for memory management?
What is rmi and steps involved in developing an rmi object?
what is the major difference between linkedlist and arraylist in java?
What is the benefit of lambda expressions?
Difference between keyword and identifier.
How do I enable java in safari?
Write a function to print Fibonacci series and Tribonacci series?
what is daemon thread and which method is used to create the daemon thread? : Java thread