मराठी

State the value of y after the following is executed: char x = '7'; y = Character.isLetter(x); - Computer Applications

Advertisements
Advertisements

प्रश्न

State the value of y after the following is executed:

char x = '7';

y = Character.isLetter(x);

पर्याय

  • false

  • 7

  • true

  • '7'

MCQ

उत्तर

false

Explanation:

As a result, the Character is stored in the variable x. In y, letter(x) returns false.

shaalaa.com
Introduction of Values and Data Types
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2021-2022 (April) Set 1
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×