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

How are the elements of a gridbaglayout organized in java programming?

516


What are features of java?

559


How big is a gigabyte?

612


What is the need of transient variables in Java ?

577


What is meant by interface?

564






Can we create an object of static class in java?

594


What is string example?

595


how we can make a read-only class in java?

540


What is the final keyword?

549


Can a method be overloaded based on different return type but same argument type?

546


Can you explain inner class.

590


Can we assign null to double in java?

548


Explain thread in java?

661


What Is Query Throttling in java?

562


What is the return type of the main method?

575