Name the eight primitive Java type.

Showing Answers 1 - 11 of 11 Answers

ramu

  • Mar 10th, 2006
 

1)boolean

2)int

3)float

4)byte

5)short

6)char

7)long

8)double

  Was this answer useful?  Yes

greeshma

  • Mar 15th, 2006
 

1.byte

2.short

3.int

4.long

5.char

6.float

7.double

8.boolean

  Was this answer useful?  Yes

Ashish Parik

  • Mar 19th, 2006
 

 Following are the primitive data types defined in Java

1.byte 1 byte

2.short 2 bytes

3.int 4 bytes

4.long 8 bytes

5.char  2 bytes

6.float 4 bytes

7.double 8 bytes

8.boolean ----

  Was this answer useful?  Yes

Avneesh Awasthi

  • Apr 7th, 2006
 

8 primitive type used in java1)boolean2)byte3)char4)double5)float6)int7)long8)short

  Was this answer useful?  Yes

We have two type of data types in java those are 1.Primitive data types 2. Referenced Data types or Advanced data types.

Primitive datatypes are : these store only singe value.

boolean,short,int,char,float,double,byte,long

Advanced Datatypes are :these store group of values

String,Array,object

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions