Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Interview Questions and Answers|
|Ans. A wrapper class is any class which "wraps" or "encapsulates" the functionality of another class or component. A Wrapper Class that wraps or encapsulates the primitive data type is called Primitive Wrapper Class.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  java   wrapper classes   primitive wrapper classes|
|Will this code give error if i try to add two heterogeneous elements in the arraylist. ? and Why ?|
|What are the Wrapper classes available for primitive types ?|
|What are wrapper classes ?|
|Explain Autoboxing ?|
|What are the benefits of using Wrapper classes over primitive types ?|
|What is the difference between uninitialized values for primitive types and Wrapper classes ?|
|Difference between boolean and Boolean ?|
|What Design pattern Wrapper Classes implement ?|
|Can we compare Integers by using equals() in Java ?|