Mantén la atención porque en esta noticia encontrarás el resultado que buscas.
Ejemplo 1: tipos de datos primitivos y no primitivos en Java
Primitive data types are those data types which are used by programmers when creating variables in their program.
For example :-*boolean*char*byte*short*int*long*float*doubleNon-Primitive data types:*String* array
*enum*class* etc
Ejemplo 2: ¿Qué es el tipo de datos primitivo en Java?
Primitive types are the most basic data types available within the Javalanguage. There are 8:boolean,byte,char,short,int,long,float and double . These types serve as the building blocks of data manipulation in Java. Such types serve only one purpose — containing pure, simple values of a kind.
Ejemplo 3: tipos de datos no primitivos en Java
Non-PrimitiveDataTypes:These data types are not actually defined by
the programming language but are created by the programmer. They are
also called “reference variables” or “object references” since they
refer toa memory location which stores the data.
All classes are non-primitive data types.
Example:Object,String,Integer,Boolean, etc...
¡Haz clic para puntuar esta entrada!
(Votos: 0 Promedio: 0)