मराठी

Write two importance of wrapper class.

Advertisements
Advertisements

प्रश्न

Write two importance of wrapper class.

लघु उत्तर
Advertisements

उत्तर

There are mainly two uses with wrapper classes.

  1. To convert simple data types into objects, that is, to give object form to a data type; here constructors are used.
  2. To convert strings into data types (known as parsing operation'), here methods of type parseXXX() are used.
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 5: Library Classes - Exercises [पृष्ठ १३४]

APPEARS IN

रूपा पंडित Computer Applications [English] Class 10 ICSE
पाठ 5 Library Classes
Exercises | Q 4. (ii) | पृष्ठ १३४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×