English

Find the output of the following program snippet: - Computer Applications

Advertisements
Advertisements

Question

Find the output of the following program snippet:

int n = 97; 
char ch = Character.toUpperCase((char)n); 
System.out.println(ch + "Great Victory");
One Line Answer

Solution

A Great Victory 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. 6. | Page 178
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×