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 is an escape character in java?

0 Answers  


What is a java developer salary?

0 Answers  


What is the difference between serializable and externalizable interface?

0 Answers  


Difference between Map & Hashmap

2 Answers   Mastek,


What is the difference between stored procedure & function?

0 Answers  






What are strings in physics?

0 Answers  


How can you read content from file in java?

0 Answers   HCL,


Can we extend singleton class in java?

0 Answers  


Can constructor be inherited?

0 Answers  


What is a Hash Table? What are the advantages of using a hash table?

0 Answers   Ciena,


Explain the overview of UDP messaging.

0 Answers  


Is logger a singleton?

0 Answers  


Categories