int a=1;
float b=1.0;
System.out.println(a==b);
Answer Posted / sudha
if u write
int a=1;
float b=1.0f;
system.out.println(a==b);
answer woill b true...as of now it wont compile
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How many bytes is a unicode character?
How is abstraction implemented in java ?
What is generics in java interview questions?
Difference between object and reference?
What is the difference between a local variable and an instance variable?
What are the types of literals?
How do you sort objects in java?
Explain what are final variable in java?
How are java objects passed to a method and what are native methods?
What do you understand by access specifiers in Java?
What is the use of conditional statement?
How to print an arraylist in java?
What is math exp in java?
What is balanced tree in java?
Is node a data type in java?