filmov
tv
3.1 - Java MTA - Data Manipulation - Primitive Data Types

Показать описание
Welcome to my new series on Java.
This Course will help you prepare for the MTA(98-388) Exam : Introduction to Programming Using Java.
This is part 3 of the course, and in this sections we will be looking into data manipulation for Java
Data Type Size Range
byte 1 byte -128 to 127
short 2 bytes -32,768 to 32,767
int 4 bytes -2,147,483,648 to 2,147,483,647
long 8 bytes -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
float 4 bytes Stores decimal numbers of 6 to 7 decimal digits
double 8 bytes Stores decimal numbers of 15 decimal digits
boolean 1 bit true or false
char 2 bytes Stores a single character/letter
This Course will help you prepare for the MTA(98-388) Exam : Introduction to Programming Using Java.
This is part 3 of the course, and in this sections we will be looking into data manipulation for Java
Data Type Size Range
byte 1 byte -128 to 127
short 2 bytes -32,768 to 32,767
int 4 bytes -2,147,483,648 to 2,147,483,647
long 8 bytes -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
float 4 bytes Stores decimal numbers of 6 to 7 decimal digits
double 8 bytes Stores decimal numbers of 15 decimal digits
boolean 1 bit true or false
char 2 bytes Stores a single character/letter