[JAVA] What is a wrapper class?

What is a wrapper class?

There are basic types and reference types in java. In the basic type, values such as numerical values and characters are stored, and arithmetic processing using the stored values is performed.

However, there is no means for manipulating values. Also, if you try to use a collection or generic that is easily performed by complicated processing, the basic type cannot be used because it is not the target of the argument.

Therefore, a class is prepared that wraps the value of the basic data type and makes it available as an object.

Call them wrapper classes.

Recommended Posts

What is a wrapper class?
[Swift] What is "inheriting a class"?
What is a class in Java language (3 /?)
What is a constructor?
What is a stream
What is a class in Java language (1 /?)
What is a class in Java language (2 /?)
What is a Servlet?
What is a boolean type?
What is a Ruby module?
What is a floating point?
What is a meaningful comment?
What is the BufferedReader class?
What is a jar file?
What is a Java collection?
What is a lambda expression?
[Java] What is class inheritance?
What is a fa⁉ enum?
[Java basics] What is Class?
What is the difference between a class and a struct? ?? ??
What is a snippet in programming?
What is a column Boolean type?
What is a reference type variable?
What is a lambda expression (Java)
What is a Ruby 2D array?
What is Cubby
What is Docker?
What is null? ]
What is a terminal? -Absolute path & relative path-
What is a Spring Boot .original file?
What is java
What is Keycloak
What is maven?
What is Jackson?
[For programming beginners] What is a method?
What is Docker
What is self
What is Jenkins
What is ArgumentMatcher?
What is IM-Juggling?
What is params
What is SLF4J?
What is Facade? ??
What is Java <>?
What is Gradle?
What is POJO
What is Java
What is centOS
What is RubyGem?
[Rails] What is a dot (.) Or a colon (:)?
What is programming?
What is before_action?
What is Docker
What is a request scope? Image commentary
What is Byte?
What is Tomcat
Introduction to Recursive Functions: What is a Recursive Function?
What is Maven Assembly?
What is `docker-compose up`?
What is vue cli
What is an interface?