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
Why heap memory is called heap?
Explain about instanceof operator in java?
Can the interface be final?
What is the program development process?
Is java a compiler?
Differentiate between stringbuffer and string?
Explain methods specific to list interface?
Is special character in java?
What are autoboxing and unboxing? When does it occur?
Which variable is the independent variable?
what is mutual exclusion? How can you take care of mutual exclusion using java threads? : Java thread
Can you make a constructor final in Java?
What are the types of java?
How do you reverse a string in java?
what is deadlock? : Java thread