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

Answer Posted / saranya

ya its true only because content remains the same

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When super keyword is used?

600


Mention some features of java?

546


Can we define constructor in inner class?

545


When is update method called?

672


Which is the best approach for creating thread ?

729






What is isa relationship?

569


Why stringbuilder is not thread safe in java?

578


Can a constructor be made final?

671


What are methods and how are they defined?

605


Why do we create threads in java?

586


What is command line argument in java?

613


What is variable explain with example?

576


Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?

617


What is protected in java?

533


What do you mean by singleton class in java?

521