Datatype can be of many types eg
Description
Presentation of It Professional
Shared by: dholariyagunjanitechpro
Categories
Tags
-
Stats
- views:
- 4
- posted:
- 1/22/2013
- language:
- pages:
- 3
Document Sample


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
Other docs by dholariyagunjanitechpro
1315315385_MicrosoftWord-CBSE_IX_SummativeAssessmentI_SamplePaper7_Question0
Views: 5 | Downloads: 0
1315314032_MicrosoftWord-CBSE_IX_SummativeAssessmentI_SamplePaper3_Solution_30
Views: 6 | Downloads: 1
Get documents about "