English

Find the output of the following program snippet: char c = 'B'; inti = 4; System.out.println(c + i); System.out.println((int) c + i); - Computer Applications

Advertisements
Advertisements

Question

Find the output of the following program snippet:

char c = 'B'; 
inti = 4;  
System.out.println(c + i); 
System.out.println((int) c + i); 
One Word/Term Answer

Solution

70

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. 4. | Page 178
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×