Autoboxing is the mechanism in Java to convert primitive type values to respective wrapper class object. Java programmer mostly use autoboxing while using collections, since collection only holds object and to put primitive type data into collection, it's need to use wrapper classes to convert into objects.
So , here is …
This post first appeared on The Geeky Way | Technology Inside Out, please read the originial post: here