Types, Variables:
Java is a strongly typed 32 bit language. Every variable and constant has a type, as does every expression that evaluates to a value.
Java has a built in library that defines a set of built-in numeric types (primitive) and more complex types that represent a wide variety of logical constructs, such as the file system, network connections, collections and arrays of objects, and dates (None-primitive).
A typical Java program uses types from the class library and user-defined types that model the concepts that are specific to the program's problem domain.
Data types in Java is mainly divided into three categories:
Value Data Types:
The value types directly contain data. Some examples are int, char, and float, which stores numbers, alphabets, and floating point numbers, respectively. When you declare an int type, the system allocates memory to store the value.
Reference Data Types:
The reference types do not contain the actual data stored in a variable, but they contain a reference to the variables.
A variable is nothing but a name given to a storage area that our programs can manipulate.
You can initialize a variable at the time of definition as: int i = 100;
En esta página del sitio puede ver el video en línea 03 JAVA Understanding Data Types in Java de Duración hora minuto segunda en buena calidad , que subió el usuario to expertize 19 junio 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 16 veces y le gustó 2 a los espectadores. Disfruta viendo!