English

Predict the output: int x = 90; char c = (x<=90)? 'Z' : 'I'; - Computer Applications

Advertisements
Advertisements

Question

Predict the output:

int x = 90;
char c = (x<=90)? 'Z':'I';
One Word/Term Answer

Solution

Z

shaalaa.com
  Is there an error in this question or solution?
Chapter 1.04: Operators in Java - EXERCISES [Page 44]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.04 Operators in Java
EXERCISES | Q IV. 3. | Page 44
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×