+ 2
What is a wrapper class?
A wrapper class are many like integer,long,byte,double,float,and short are sub classes of the abstract class Number.The object of the wrapper class contains or wraps its respective primitive data type.Converting primitive data type types into object is called boxing,and this is taken care by the compiler.
1 ответ
+ 1
only particular with Java !!
Java became pure object oriented programming language after the wrapper class came into existence !! the problem with primitive data types are that they do not satisfy all needs of the oops paradigm whereas in wrapper class every thing is handled as an object !! but when u need speed in the program primitive data types are preferred over wrapper class