Data Types in Java Tutorial | Beginner Java

Publicado em: 29 Maio 2017
no canal de: Megawatt Apps
80
2

In this tutorial we go over all 8 primitive data types inside of Java. We also learn how to declare a variable inside of Java and how to declare default value variables.

More information here (http://www.dummies.com/programming/ja...

The term data type refers to the type of data that can be stored in a variable. Sometimes, Java is called a “strongly typed language” because when you declare a variable, you must specify the variable’s type. Then the compiler ensures that you don’t try to assign data of the wrong type to the variable. The following example code generates a compiler error:

Type Explanation
int A 32-bit (4-byte) integer value
short A 16-bit (2-byte) integer value
long A 64-bit (8-byte) integer value
byte An 8-bit (1-byte) integer value
float A 32-bit (4-byte) floating-point value
double A 64-bit (8-byte) floating-point value
char A 16-bit character using the Unicode encoding scheme
boolean A true or false value


Nesta página do site você pode assistir ao vídeo on-line Data Types in Java Tutorial | Beginner Java duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Megawatt Apps 29 Maio 2017, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 80 vezes e gostou 2 espectadores. Boa visualização!