KnowledgeBoat Logo

Computer Applications

Define a wrapper class.

Java Library Classes

76 Likes

Answer

Wrapper classes wrap the value of a primitive type in an object. Wrapper classes are present in java.lang package. The different wrapper classes provided by Java are Boolean, Byte, Integer, Float, Character, Short, Long and Double.

Answered By

51 Likes


Related Questions