1.

How Can We Use Primitive Data Types As Objects?

Answer»

Primitive data types like int can be handled as objects by the USE of their respective wrapper CLASSES. For example, Integer is a wrapper class for primitive data type int. We can apply different METHODS to a wrapper class, just like any other OBJECT.

Primitive data types like int can be handled as objects by the use of their respective wrapper classes. For example, Integer is a wrapper class for primitive data type int. We can apply different methods to a wrapper class, just like any other object.



Discussion

No Comment Found