Please enable JavaScript.
Coggle requires JavaScript to display documents.
Data types in Java - Coggle Diagram
Data types in Java
Integer type
Short
small range integres
Byte
bit wise operation
Int
integers which are more than short integers
Long
large integers
Non primitive type
classes
Arrays
Interface
character type
bit size
format
char p; p='a';
string str; str= "school";
char x; x= '*';
16 bits (2 bytes)
more than 16 bits
non- numeric
single character ( a letter or a special number)
more than a character/ a word/a sentence
char
string
data
data type
bite size
format
byte a; a=5
short b; b=12
int c; c= 214
long d; d=45687
8
16
32
64
byte
short
int
long
byte
short
integer
long integer
primitive types
numeric types
characters
boolean
non numeric type
floating numbers
integers
format
bit size
data type
data
small range of decimal values
wide range of decimal values
float
Double
32
64
float m; m= 34.45;
double n; n = 12.1269387;