The process of converting a primitive data type to a wrapper class object in Java is known as ________.

  • Autoboxing
  • Casting
  • Parsing
  • Unboxing
The process of converting a primitive data type to a wrapper class object in Java is known as "Autoboxing." Autoboxing is the automatic conversion of primitive data types to their corresponding wrapper classes. For example, converting an int to an Integer.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *