Give the difference between the println method and sqrt method?
Submitted by: AdministratorPrintln 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.
Submitted by: Administrator
Submitted by: Administrator
Read Online Core Java Job Interview Questions And Answers
Top Core Java Questions
☺ | Explain the reason behind ending a program with a System.exit (0)? |
☺ | Explain about the select method with an example? |
☺ | Explain about inheritance hierarchies? |
☺ | Explain about the interpreter in Java? |
☺ | Explain about Core Java? |
Top Java Programming Language Categories
☺ | Core Java Interview Questions. |
☺ | Hibernate Interview Questions. |
☺ | Advanced Java Interview Questions. |
☺ | IBM WebSphere Interview Questions. |
☺ | Spring Framework Interview Questions. |