What primitive Java types? Howmany are they and what are
their names?

Answers were Sorted based on User's Feedback



What primitive Java types? Howmany are they and what are their names?..

Answer / ramesh

primitive type is predefined in java.
byte , int ,short ,long , float , double,boolean and char
are the primitive data types used in java.

Is This Answer Correct ?    7 Yes 0 No

What primitive Java types? Howmany are they and what are their names?..

Answer / prasanna

They are implicitly defined in Java.There are 8 of them and
they are:
boolean,char,byte,short,int,long,float,double

Is This Answer Correct ?    7 Yes 0 No

What primitive Java types? Howmany are they and what are their names?..

Answer / ravikiran(aptech mumbai)

primitive datatypes are the one which will allocate some
memory in the stack.And there are 8 primitive data types
1).byte
2).short
3).int
4).long
5).float
6).double
7).char
8).boolean

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Core Java Interview Questions

What are the 8 data types in java?

0 Answers  


What is a function argument in java?

0 Answers  


How many types of interfaces are there?

0 Answers  


Convert Binary tree to linked list.

0 Answers   Amazon,


What is the use of flag?

0 Answers  






Difference between association, composition and aggregation?

0 Answers  


I want to persist data of objects for later use. What’s the best approach to do so?

0 Answers  


What are use cases?

0 Answers  


program to validate the IP address? Validity range should be 0 to 255

1 Answers   Huawei,


What is the purpose of tostring() method in java?

0 Answers  


What is a nullable field?

0 Answers  


could you run the java program without main method?

6 Answers  


Categories