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
What is default size of arraylist in java?
Difference between method overloading and method overriding in java ?
What is an example of a keyword?
Why is it called boolean?
How to reverse string in java?
Explain the difference between collection api and stream api in java8?
What is the importance of hashcode() and equals() methods?
What is a finally block?
What is application tier?
Can we have any code between try and finally blocks?
Why object class is super class for every class in java?
What is regex used for?
Why singleton pattern is better than creating singleton class with static instance?
Write a program to show whether a graph is a tree or not using adjacency matrix.
What is the difference between I ++ and ++ I in java?