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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?