Multiple choice technology programming languages

Which one does not extend java.lang.Number?

  1. integer

  2. boolean

  3. character

  4. short

Reveal answer Fill a bubble to check yourself
B,C Correct answer
Explanation

In Java's wrapper class hierarchy, Integer and Short extend the abstract Number class because they represent numeric values that can participate in arithmetic and type conversions. Boolean and Character do NOT extend Number - Boolean represents logical true/false values, not quantities, and Character represents a single Unicode character, not a number.