int a=1;
float b=1.0;
System.out.println(a==b);

Answers were Sorted based on User's Feedback



int a=1; float b=1.0; System.out.println(a==b); ..

Answer / dsr

int a=1;
float b =1.0; //error
System.out.println(a==b);

Is This Answer Correct ?    0 Yes 1 No

int a=1; float b=1.0; System.out.println(a==b); ..

Answer / john

what is the output fr this C code ? AND WHY ?

main()
{
int a=1;
float b=1.0;
if(a==b)
printf("true");
else
printf("false");
}

Is This Answer Correct ?    0 Yes 1 No

int a=1; float b=1.0; System.out.println(a==b); ..

Answer / 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

More Core Java Interview Questions

What is the use of using enum to declare a constant?

0 Answers   Fidelity,


What does the “static” keyword mean? Can you override private or static method in java?

0 Answers  


Why java Don't Support Multiple interitence

8 Answers   ABC, Exilant, IBM,


Is delete, next, main, exit or null keyword in java?

1 Answers  


What are the features of junit?

0 Answers  






What is the loop in java?

0 Answers  


Can we declare variables inside a method as Final Variables?

3 Answers  


What is a module function?

0 Answers  


Can a main method be overloaded?

0 Answers  


What are the data types supported by java?

0 Answers  


What is ascii format?

0 Answers  


can we create a instance for intwerface?

3 Answers  


Categories