हिंदी

Predict the output of the following code snippet: char ch='B'; char chr=Character.to.LowerCase(ch); int n=(int) chr-10; System.out.println((char)n+"\t"+chr); - Computer Applications

Advertisements
Advertisements

प्रश्न

Predict the output of the following code snippet:

char ch='B';
char chr=Character.toLowerCase(ch);
int n=(int)chr-10;
System.out.println((char)n+"\t"+chr);
एक शब्द/वाक्यांश उत्तर
Advertisements

उत्तर

X  b

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2024-2025 (March) Specimen Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×