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 |
What is Marker interface in java? and what is clone?
Is it possible to use string in the switch case?
Which collection is thread safe in java?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
What is struts in java?
Can we override constructor?
Infinite loop using while ?
how can i take the inputs from users in java program?
What is run-time class and system class? what is their purpose?
What is the generic class?
What is entry in java?
What is the smallest package in Java API?