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 the final blank variable?

0 Answers  


What do you know about java?

0 Answers  


If set accepts only one argument then how can it compare two objects to avoid duplicates

5 Answers  


What is the difference between this() and super() in java?

0 Answers  


what is default layout of JFrame class?

6 Answers  


If an object reference is set to null, will the garbage collector immediately free the memory held by that object?

0 Answers  


What is numel matlab?

0 Answers  


What is boolean strategy?

0 Answers  


where can we get jAVA project orientation traing in HYDERABD

0 Answers  


Why we use static and synchronized in method for single thread model example: public static synchronized add(){}

2 Answers  


Difference between static methods, static variables, and static classes in Java.

1 Answers  


Functionality of JVM?

7 Answers   Infosys,


Categories