Some people know the eight basic data types of Java, but it's unclear when it comes to Java's reference data types.
Java's data types fall into two main categories, the basic data type and the reference data type, and there are 8 of the basic data types
Basic data types (logical-boolean; text-type-char; numeric-byte, short, int, long, float, double);
Reference data types have classes (class), interfaces (interface), arrays (array), note that the size of the reference data type is uniform
is 4 bytes, and the address of its reference object is recorded!
Eight basic types of data:
Byte type (1 bytes), short (2 bytes), int (4 bytes), Long (8 bytes), Float (4 bytes), double (8 bytes).
char character type (2 bytes), single quotation marks denote character constants, for example ' a ' is a character, it is not ' a ' is different, ' a ' represents a string containing one character.
Boolean logical, which has only two return values, True and false, respectively.
Reference data type: (omitted, feel you should all know).
Java reference data type, you know???