int a=1;
float b=1.0;
System.out.println(a==b);
Answer Posted / john
main()
{
int a=1;
float b=1.0;
if(a==b)
printf("true");
else
printf("false");
}
what will be the output for this ?
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Is break statement can be used as labels in java?
What is externalizable?
Can you change array size in java?
What do you mean by garbage collection used in java?
Can we cast any other type to boolean type with type casting?
How to run a JAR file through command prompt?
What do you know about the garbage collector?
What is method in java with example?
what are the states associated in the thread? : Java thread
Is java call by value?
What is the use of conditional statement?
Explain jdk, jre and jvm?
What is the meaning of I ++ in java?
Differences between external iteration and internal iteration?
Explain the private field modifier?