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 to use string tokenizer class.
How does predicate work in java?
What are the states of thread in java?
What are the Main functions of Java?
Is main a function?
Explain constructors and types of constructors in java.
Why string objects are immutable in java?
What is udp in java?
Can you override static methods?
What are the 3 types of control structures?
What are computer functions?
What is bufferedwriter?
How do you check whether the list is empty or not in java?
Explain jvm, jre, and jdk?
we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.