मराठी

Methods of Wrapper Class

Advertisements

Topics

CISCE: Class 10

Methods of Wrapper Classes:

Note: a) Conversion from String to Primitive types: There maybe times when you have to conver your string in a primitive datatype. For example converting string to Integer type data ->  

Syntax: integer variable= Integer.parseInt(Stringargument) 

b) Conversion from Primitive type data to String: If you have to convert long datatype to string type -> 

Syntax: String variable=Integer.toString( intargument); 

Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×