1.

Which of the following methods Byte wrapper return the value as a double?(a) doubleValue()(b) converDouble()(c) getDouble()(d) getDoubleValue()The question was posed to me in examination.My question is from Java.lang in section Exploring java.lang & java.io of Java

Answer» CORRECT ANSWER is (a) doubleValue()

For explanation: doubleValue() RETURNS the value of invoking OBJECT as double.


Discussion

No Comment Found

Related InterviewSolutions