1 Answer

0 votes
by

The eight primitive data types supported by the Java programming language are:

  1. byte
  2. short
  3. int
  4. long
  5. float
  6. double
  7. boolean
  8. char

Autoboxing is the automatic conversion made by the Java compiler between the primitive types and their corresponding object wrapper classes. If the conversion goes the other way, this operation is called unboxing.

Related questions

0 votes
asked Jul 1, 2023 in JAVA by sharadyadav1986
0 votes
asked Sep 9, 2022 in Python by john ganales
...