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

When will we use them?

0 Answers  


What is class array in java?

0 Answers  


Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?

0 Answers  


What are latest features introduced with java 8?

0 Answers  


Hi can u pls tell me what is the use of marker interface. Iknow what is marker interface but what ability will the object get by implementing this.

3 Answers   CGI,






Does java support multiple inheritances?

0 Answers  


what value will be return by the read() method once it reaches the end-of-file? a. Throws EOException b. Return null c. Return -1 d. Read method return nothing, because it is void method

1 Answers  


What does || || mean in math?

0 Answers  


What is exception in java?

0 Answers   Cyient,


Infinite loop using while ?

4 Answers  


Hi ,i convert contrller as jSp And presentation as servlet ...will it do? if so what are advantage and idsadvantages

2 Answers   IBM,


How can you handle java exceptions?

0 Answers  


Categories