Multiple choice technology programming languages

Automatic conversion between the primitives and the object wrapper class is called

  1. Autounboxing

  2. Autoboxing

  3. polymorphism

  4. encapsulation

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

Autoboxing is Java's automatic conversion from primitive types (int, double, boolean) to their corresponding wrapper class objects (Integer, Double, Boolean). The reverse conversion (wrapper to primitive) is called unboxing. Polymorphism and encapsulation are unrelated OOP concepts.