DATOS PRIMITIVOS(ENTEROS)
Publicado por Julio Cesar (2 intervenciones) el 29/11/2017 18:41:03
Tengo una duda, algunas fuentes muestran que cada tipo de dato primitivo entero almacena cierta cantidad de bytes, pero hay otras que muestran otras cantidades de espacio:
¿Este?:
byte: 1 byte
short: 2 bytes
int: 4bytes
long: 8bytes
o este?:
byte: 8bytes
short: 16bytes
int: 32bytes
long: 64bytes
¿Este?:
byte: 1 byte
short: 2 bytes
int: 4bytes
long: 8bytes
o este?:
byte: 8bytes
short: 16bytes
int: 32bytes
long: 64bytes
Valora esta pregunta
0