For the time being, at first
--String --int (integer) --double (number including decimal point)
| type | Model name | Handleable range |
|---|---|---|
| Integer type | int | -Integer from 2147483648 to 2147483647 |
| String class | String | "Java"、"myself"、"Mac"Multiple characters such as |
| Floating point type | double | ± 1.8 × 10308 ~ ± 3.4 × 10 -324 Finer numbers |
| Logical type | boolean | true (true) or false (false)Authenticity |
| Character type | char | "Ah" 、 "Rainbow"Single character string such as |
| Integer type | short | -32768 ~Integer up to 32767 |
| Integer type | long | -Integer from 92223372036854775808 to 9223372036854775807 |
| Integer type | byte | -Integer from 128 to 127 |
| Floating point type | float | ± 3.4 × 1039 ~ ± 1.4 × 10 -45 fine numbers |
Recommended Posts