English

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

Advertisements
Advertisements

Question

Find the output of the following program snippet:

char c = 'A';
int n = (int) c + 32;
System.out.println((char)n);
One Word/Term Answer

Solution

a

shaalaa.com
  Is there an error in this question or solution?
Chapter 2: Library Classes - EXERCISES [Page 178]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 2 Library Classes
EXERCISES | Q IV. 2. | Page 178
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×