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 the functionality of Webserver?

2 Answers  


How would you use Bubble Sort to sort the number of elements?

0 Answers   Genpact,


Can a static method be final?

0 Answers  


What does the ‘static’ keyword mean? Is it possible to override private or static method in java?

0 Answers  


In a my eclipse editor if i want to switch from jdk 1.4 to jdk 1.6 how to do that???? Initially i have jdk1.4

1 Answers   Tech Mahindra,






What is the purpose of the strictfp keyword?

0 Answers  


what is use of session tracking ?with example?

1 Answers   Photon,


What carriage return means?

0 Answers  


What is java util list?

0 Answers  


Difference between ?System.out.println? and ?System.error.println??

8 Answers   Sai Softech,


What is a prefix function.write down a code to compute prefix function.

0 Answers  


What is main difference between variable and constant?

0 Answers  


Categories