हिंदी

The variable must be declared ______ type, if a character is to be assigned to it. - Computer Applications

Advertisements
Advertisements

प्रश्न

The variable must be declared ______ type, if a character is to be assigned to it.

विकल्प

  • Char

  • Ch

  • Character

  • Alphanumeric

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

उत्तर

The variable must be declared char type, if a character is to be assigned to it.

Explanation:

In Java, the char data type represents a single character. If you wish to assign a character to a variable, declare it char. 

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

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×