Core Java Question:
Download Questions PDF

Give the difference between the println method and sqrt method?


Println method operates on the object system.out and has the value which should be printed namely y. sqrt method is a static method. It does not operate on any object. It has the number stored in x for which the square toot should be found out.

Download Core Java Interview Questions And Answers PDF

Previous QuestionNext Question
Explain about Java assignment statement?Explain about strings in Java?