1.

Which of these is a super class of wrappers Double and Float?(a) Long(b) Digits(c) Float(d) NumberI had been asked this question in class test.My enquiry is from Java.lang topic in section Exploring java.lang & java.io of Java

Answer»

The correct answer is (d) Number

Explanation: Number is an ABSTRACT class containing SUBCLASSES DOUBLE, FLOAT, Byte, Short, Integer and Long.



Discussion

No Comment Found

Related InterviewSolutions