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
What is factor r?
What is tree in java?
Can we override compareto method?
How do listeners work?
Can we make the abstract methods static in java?
Discuss 2D arrays.
What are the data types supported by java?
What does a method signature consist of?
Are arrays static in java?
Can we create constructor in abstract class ?
how many types of Inheritance?
Why super is first line in java?
Why generics are used in java?
What is exception handling in java?
How can we make a class virtual?