हिंदी

Which of the following functions checks whether a character is a blank or not? - Computer Applications

Advertisements
Advertisements

प्रश्न

Which of the following functions checks whether a character is a blank or not?

विकल्प

  • Character.isBlankSpace()

  • Character.isWhiteSpace()

  • Character.isEmptySpace()

  • Character.isNull()

MCQ

उत्तर

Character.isWhiteSpace()

Explanation:

The Character.isWhitespace() function in Java determines if a given character is a whitespace character (e.g., spaces, tabs, newlines). It is used to determine whether a character is in the set of whitespace characters. 

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

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×