Wrapper Class in Java
Wrapper Class in Java
com/in/gayatri-mishra-freelancecoach/
Java Wrapper classes wrap the primitive data types, that is why it is known as wrapper classes.
Integer
Double
Float
These classes are very much useful in converting data like converting string to any primitive data type int ,
double , float ect.
String s = “49600.90”;
Let’s say we need to convert the string into decimal to perform further operations.