Cosmic Q&A
What are wrapper classes?
Answer
Wrapper classes provide Object oriented wrappers for primitive data types. Using wrapper classes enables us to utilize primitive data types on APIs that require Object oriented data structures. For instances, using Wrapper classes we can create an ArrayList of primitive integers.
Share this page:
Report Error in Content