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

What is Marker interface in java? and what is clone?

16 Answers   Persistent, Wipro,


Is it possible to use string in the switch case?

1 Answers  


Which collection is thread safe in java?

1 Answers  


When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?

1 Answers  


What is struts in java?

1 Answers  


Can we override constructor?

1 Answers  


Infinite loop using while ?

4 Answers  


how can i take the inputs from users in java program?

7 Answers   Wipro,


What is run-time class and system class? what is their purpose?

1 Answers  


What is the generic class?

1 Answers  


What is entry in java?

1 Answers  


What is the smallest package in Java API?

5 Answers   iGate,


Categories