What is the purpose of premetive data types in java?

Answers were Sorted based on User's Feedback



What is the purpose of premetive data types in java?..

Answer / ravikiran(aptech mumbai)

primitive datatypes will allocate some memory in accordance
with the type of the variable

Is This Answer Correct ?    6 Yes 1 No

What is the purpose of premetive data types in java?..

Answer / parameswaran

In java contains eight type of primitive data
type:byte,short,int,long,float,double,char,boolean..
In wrapper class is called converting ordinary variable into
objects.so this concept is used for collections in
java.because collection don't know data types..only object..

Is This Answer Correct ?    5 Yes 2 No

Post New Answer

More Core Java Interview Questions

Is java a digit method?

0 Answers  


where u use Abstraction and Interface in real time

3 Answers   Sonata,


What does localhost mean?

0 Answers  


Is it possible for a yielded thread to get chance for its execution again?

0 Answers  


Where are the card layouts used?

0 Answers  


Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?

0 Answers  


difference between jsp and java script?

3 Answers  


describe synchronization in respect to multithreading? : Java thread

0 Answers  


Can we return null in java?

0 Answers  


What are default methods ?

0 Answers  


Explain the use of shift operator in java. Can you give some examples?

0 Answers  


What is the range of the short type?

0 Answers  


Categories