Multiple choice technology programming languages

Which of the following are true?

  1. The Void class extends the Class class.

  2. The Float class extends the Double class.

  3. The System class extends the Runtime class.

  4. The Integer class extends the Number class.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The Integer wrapper class extends the abstract Number class, which is part of Java's type hierarchy for numeric types. Void does not extend Class (Void is final). Float extends Number, not Double. System does not extend Runtime. Only the Integer-Number relationship is correct.