English

Predict the output: int a = 18; int b = 12; boolean t = (a>20 andand b< 15)? true:false; - Computer Applications

Advertisements
Advertisements

Question

Predict the output:

int a = 18; int b = 12;
boolean t = (a>20 && b< 15)? true:false; 
One Word/Term Answer

Solution

false

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

Englishहिंदीमराठी


      Forgot password?
Use app×