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

Answer Posted / ravikiran

true because content remains the same

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does java have a compiler?

561


What is the difference between class forname and new?

552


Which method returns the length of a string?

573


What is hashmap and map?

562


Explain thread life cycle in java?

590






What is a generic type?

566


Who found java?

554


Write a java program to count the number of words present in a string?

540


What is java reflection api?

560


why an outer class cannot be declared as private?

3620


What is string immutability?

543


Explain about the security aspect of java?

579


What are parsing rules?

507


What is default exception handling in java?

577


How do you empty a list in java?

545