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 static variable work in java?
What variables are stored in stack?
What is the method to declare member of a class static?
How do I start learning java?
Describe the term diamond problem.
What does g mean in regex?
In which language java is written?
How list contains works in java?
What is are packages?
What is casting in java programming?
How to sort double array in java?
Can we inherit a class with private constructor?
What are computer functions?
Can You Have Virtual Functions In Java?
Why are arrays useful in java?