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 special character in java?
How many bits is size_t?
How to access arraylist elements in java?
What is private protected in java?
What is the differences between c++ and java? Explain
What is array and arraylist in java?
How many types of constructors are used in java?
What is a substitution variable?
What is the covariant return type?
Can we cast any other type to boolean type with type casting?
What is run time allocation?
What is string in java?
What are the topics in advance java?
Explain differences between checked and unchecked exceptions in java?
What is main method?