Statement: The material used in this column is written by the VIP students of the Kay Academy, who has the right to be anonymous and has the final right to interpret the article; The Edith Academy is designed to promote students to learn from each other on the basis of public notes.
I. Data type (eight types):
1. The computer's storage carry: bits are the smallest unit of storage data, and so on,
2. In Java we can use 0b or 0x to represent binary and 16
such as: 0xABC or 0b01010001;
3. In Java, the data stored in the high level is 1 is negative, the high is 0 is positive;
4.Java Data Type Details:
Integer value: int short: Less than 32767 byte: less than 127
Decimal value: Double
Single quote: char (can be assigned a number) Boolean:true, False
① integer type (four types): byte short int long,
② character type: char,
③ floating-point type: float double
④ Boolean Type: Boolean
Java Fundamentals-Data types