1/*
2 Java Data Types
3There 2 Types Of Data Types In Java
41) Primitive -> byte, char, short, int, long, float, double and boolean.
52) Non-primitive -> (All Classes) -> String, Arrays etc.
6
7Type Size Stores
8byte 1 byte whole numbers from -128 to 127
9short 2 bytes "" -32,768 to 32,767
10int 4 bytes "" -2,147,483,648 to 2,147,483,647
11long 8 bytes ""-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
12float 4 bytes fractional numbers; for storing 6 to 7 decimal digits
13double 8 bytes fractional numbers; "" 15 ""
14boolean 1 bit true or false values
15char 2 bytes single character/letter or ASCII values
16*/
1Primitive types are the most basic data
2types available within the Java language.
3Some of them are boolean , byte , char ,
4short , int , long , float and double .
5These types serve as the building blocks
6of data manipulation in Java.
7