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
Program to Find the second largest element in an array.
What is the purpose of java?
How many types of methods are there in java?
What is the difference between equals() and?
What is bitwise complement?
Can a static method be final?
Is alive and join method in java?
Explain about OOPS concepts and fundamentals.
Explain java coding standards for variables ?
Is constructor inherited?
How does list work in java?
Does string isempty check for null?
What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?
What is bom encoding?
What do heavy weight components mean in java programming?