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 a method in coding?
How do you read a char in java?
Is void a wrapper class?
Is the milky way in a void?
What is set and get methods in java?
What are the different ways of implementing thread? Which one is more advantageous?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?
Can a static method be overridden in java?
What are methods of a class?
Is linkedlist thread safe in java?
What is difference between java and java ee?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?
Is namespace same as package in java?
How will you serialize a singleton class without violating singleton pattern?
What is the escape character in java?