---
title: "What are wrapper classes?"  
description: "What are wrapper classes?"  
author: "Siya Chandra"  
published: 2017-11-14  
updated: 2017-11-14  
canonical: https://answers.mindstick.com/qa/30601/what-are-wrapper-classes  
category: "programming"  
tags: ["java programming"]  
reading_time: 1 minute  

---

# What are wrapper classes?

What are [wrapper classes](https://www.mindstick.com/interview/2469/what-are-wrapper-classes)?

## Answers

### Answer by Arti Mishra

**"Wrapper class in java"**In Java, a wrapper class is a mechanism that provides the facility to **convert primitive data types into object and object into primitive data types.** In other words, you can say that wrapper class is those class whose **object is wrapped as a primitive data types.** **\****Here is the list of Wrapper Classes.** \

| **Primitive DataType** | **Wrapper class** |
| --- | --- |
| boolean | Boolean |
| char | Character |
| byte | Byte |
| short | Short |
| int | Integer |
| long | Long |
| float | Float |
| double | double |

![What are wrapper classes?](https://answers.mindstick.com/questionanswer/4a8cf3cf-50c6-4b66-a23f-48bd2324b6ff/images/f29551a4-0f9b-431b-88ed-aac436257cd1.png)\


---

Original Source: https://answers.mindstick.com/qa/30601/what-are-wrapper-classes

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
