हिंदी

ValueOf() function converts ______. - Computer Applications

Advertisements
Advertisements

प्रश्न

valueOf() function converts ______. 

विकल्प

  • Primitive type to String

  • String to primitive type

  • Character to String

  • None

MCQ
रिक्त स्थान भरें

उत्तर

valueOf() function converts string to primitive type.

Explanation:

Java's valueOf() function converts primitive types (such as int, float, and double) to their String representation. A String class method converts a primitive type or object into a string.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 2: Library Classes - EXERCISES [पृष्ठ १७७]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 2 Library Classes
EXERCISES | Q I. 5. | पृष्ठ १७७
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×