What is the purpose of premetive data types in java?
Answer Posted / 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 View All Answers
How many java versions are there?
Explain oops concepts in detail?
Is a string literal?
How do you sort in java?
Explain method overloading?
What is the relationship between clipping and repainting under awt?
What are identifiers in java?
What are advantages of exception handling in java?
What do you understand by synchronization?
What is the public method modifier?
Can a private method be declared as static?
What is the benefit of lambda expressions?
Is hashmap thread safe?
What is diamond operator in java?
Why hashset is used in java?