What is the purpose of premetive data types in java?
Answers were Sorted based on User's Feedback
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 |
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 |
Differentiate between a class and an object.
What is meant by memory leak?
Write a program to calculate factorial in java?
What is string in java? String is a data type?
If an application has multiple classes in it, is it okay to have a main method in more than one class?
When is the arraystoreexception thrown?
whats the difference between == and .equal ?
Why do we need wrapper class?
Difference between process and thread?
What is a war file?
Why null interfaces are used in Java?
List two java ide’s?