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


Please Help Members By Posting Answers For Below Questions

What is this keyword used for?

872


What do you understand by the term singleton?

774


What is the difference between notify and notifyall method?

826


Can inner class have constructor?

750


What is java util concurrentmodificationexception?

710


What is the independent variable in an experiment?

747


What is the meaning of flag day?

752


How do you avoid global variables?

777


What is the difference between integer parseint and integer valueof?

765


What is unmodifiable collection in java?

711


Is java call by reference?

728


How do you use nextline in java?

703


Can you make a constructor final in Java?

850


What is the difference between actual and formal parameters?

711


What are inner classes or non static nested classes in java?

930