Home » NO IDEA » Data Types in java

Data Types in java

Blog Stats

  • 15,880 hits
December 2013
M T W T F S S
« Oct   Jan »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Java is strongly typed language (i.e) all the variables must have a declared data type.There are Eight primitive data types in java

Integer Type                -4(int ,long,short,byte )

Floating Point Types-2(float,double)

Character Type         -1(char)

Boolean                       -1 (boolean)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: