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 |
write a class to input 2 points by the user & check the line maked by the points is horizontal,vertical or rectangle?
What are keywords give examples?
What does += mean in java?
How many types of the indexof method are there for strings?
What are passing parameters?
What is locale in java?
Can we use string in the switch case?
Can an exception be rethrown?
What is proper subset?
Catch(Exception e){ } in that what is Exception and purpose of that in that place exactly?
What are the approaches that you will follow for making a program very efficient?
Howmany number of objects we can store in an ArrayList. Is there any limit?