Multiple choice technology programming languages

All the wrapper classes (Integer, Boolean, Float, Short, Long, Double and Character)

  1. Are public

  2. Are final

  3. Are Serializable

  4. All the above

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

All wrapper classes in Java (Integer, Boolean, Float, Short, Long, Double, Character) are public, final, and implement Serializable. Being final prevents inheritance, being public allows access from anywhere, and Serializable allows object serialization.