Datatype can be of many types eg

Description

Presentation of It Professional

-
Stats
views:
4
posted:
1/22/2013
language:
pages:
3
Document Sample
scope of work template
							  Datatype can be of many types
  eg.String,Integer,real,character


            Java data types are of two type.
(1)Primitive or Intrinsic data type: come as a part of
the language. Java provide 8 data types which are:
byte,short,int,long,float,double,char,boolean

(2) Reference data type.
Primitive :there are four categories of
  primitive datatypes.
 (1) Numeric integral:
 (2) Fractional primitive
 (3) Character primitive
 (4)Boolean primitive

 (1)Numeric Integral :in this datatype you
 can store numeric values fall under this
 sub category.(1)byte(2)short(3)int(4)long
(2)Fractional :it can store fractional number ,
  Ex. Number having decimal point .there can
  be called floating point datatype.


(3)Character types :it can store fractional
  number ,
  Ex. Number having decimal point .there can
  be called floating point datatype.

						
Related docs
17576Paper preboard XII
Views: 3  |  Downloads: 0
17649p2
Views: 0  |  Downloads: 0
10522xiiB2011
Views: 0  |  Downloads: 0
green chemistry
Views: 9  |  Downloads: 0
Chapter-3-4
Views: 2  |  Downloads: 0
17576Paper preboard XII
Views: 10  |  Downloads: 0
10066xiia2011 _1_
Views: 3  |  Downloads: 0