JAVA Y XML
Java y XML 1. Contenido 1.1. 1.1 Tipos de Datos TIPOS DE DATOS EN JAVA NOMBRE TIPO OCUPA RANGO APROXIMADO TIPOS PRIMITIVOS (sin métodos; no son objetos; no necesitan una invocación para ser creados) byte Entero 1 byte -128 a 127 short Entero 2 bytes -32768 a 32767 int Entero 4 bytes 2*10 9 long Entero 8 bytes Muy grande float Decimal simple 4 bytes Muy grande double Decimal doble 8 bytes Muy grande char Carácter simple 2 bytes --- boolean Valor true o false 1 byte --- TIPOS OBJETO (con métodos, necesitan una invocación para ser creados) Tipos de la biblioteca estándar de Java String (cadenas de texto) Muchos otros (p.ej. Scanner, TreeSet, ArrayLi...