1.

toRadian() and toDegree() methods were added by which version of Java?(a) Java 1.0(b) Java 1.5(c) Java 2.0(d) Java 3.0The question was asked in an interview for job.Question is from Java.lang in portion Exploring java.lang & java.io of Java

Answer»

The CORRECT choice is (c) JAVA 2.0

Easiest explanation: toRadian() and TODEGREE() methods were ADDED by Java 2.0 before that there was no method which could directly convert degree into radians and vice VERSA.



Discussion

No Comment Found

Related InterviewSolutions