Answers

Question and Answer:

  Home  Core Java

⟩ 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.

 149 views

More Questions for you: