Basic Java syntax (2)
•
Java
1、 Strongly typed language
2、 Data type classification
1. Basic data type
Integer type
Memory space occupied by four types:
matters needing attention:
Integer representation:
Character type
Character expression:
Floating point type
Memory space occupied by two types:
matters needing attention:
Critical Infinity:
Boolean type
2. Reference data type
3、 Basic type conversion
Cast type
4、 Automatic promotion of expression types
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码