- What are Autoboxing and Unboxing? Autoboxing and Unboxing is the process of automatic wrapping (putting in a box) and unwrapping (getting the value out) of primitive data types, that have “wrapper“ classes. So int and Integer can (almost always) be used interchangeably in Java language, meaning a method void giveMeInt(int i) { ... } can take an int as well as Integer as a parameter. - Can you list 8 primitive types in java? byte short int long float double char String boolean
Hide player controls
Hide resume playing