MyPC-Cabinet
Tutorials,Tips & Tricks,All about your PC.
Tuesday, March 31, 2015
Data Types in JAVA
Data Types
Premitive
Object
Integers
byte (-2
7
to 2
7
-1)
short (-2
15
to 2
15
-1)
int (2
31
to 2
31
-1)
long (2
63
to 2
63
-1)
(reference data type or
array data type)
Ex: String
Floating point
float (2
31
to 2
31
-1)
double(2
63
to 2
63
-1)
Characters
char (0 to 2
16
-1)
Boolean
boolean(true/false)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment