English

Predict the output: int a = 14, b = 4; boolean x = (a>b)? true : false; - Computer Applications

Advertisements
Advertisements

Question

Predict the output:

int a = 14, b = 4;
boolean x = (a>b)? true: false;
One Word/Term Answer

Solution

true 

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. 2. | Page 44
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×