हिंदी

What is a wrapper class in Java.

Advertisements

प्रश्न

What is a wrapper class in Java.

लघु उत्तरीय
Advertisements

उत्तर

A Wrapper Class in Java is a class that converts a primitive data type into an object. Each primitive data type has a corresponding wrapper class in the java.lang package. Wrapper classes allow primitive values to be treated as objects and provide methods for data conversion and manipulation.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 5: Primitive Values, Wrapper Classes, Types and Casting - EXERCISE [पृष्ठ ११२]

APPEARS IN

धीरज मेहरोत्रा Computer Science [English] Class 12
अध्याय 5 Primitive Values, Wrapper Classes, Types and Casting
EXERCISE | Q 5. | पृष्ठ ११२
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×