mirror of
https://github.com/Steffo99/appunti-magistrali.git
synced 2024-11-25 03:34:17 +00:00
21 lines
304 B
Markdown
21 lines
304 B
Markdown
# Tipi del Java
|
|
|
|
## Primitivi
|
|
|
|
- byte (8 bit)
|
|
- short (16 bit)
|
|
- int (32 bit)
|
|
- long (64 bit)
|
|
- float (IEEE 754 | 32 bit)
|
|
- double (IEEE 754 | 64 bit)
|
|
- char (UTF-16)
|
|
- boolean (1 bit)
|
|
|
|
## Wrapper
|
|
|
|
Esistono classi Wrapper che trasformano i dati primitivi in delle classi:
|
|
|
|
- Byte
|
|
- Short
|
|
- Integer
|
|
- ...
|