मराठी

Find the output of the following program snippet: char ch = 'x'; int n = 5; n = n + (int)ch; char c = (char)n; System.out.println((char)((int)c-26)); - Computer Applications

Advertisements
Advertisements

प्रश्न

Find the output of the following program snippet:

char ch = 'x'; int n = 5; 
n = n + (int)ch; 
char c = (char)n; 
System.out.println((char)((int)c-26)); 
एक शब्द/वाक्यांश उत्तर

उत्तर

c

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 2: Library Classes - EXERCISES [पृष्ठ १७८]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×