Start learning →

Which two boolean outcomes can an if condition expression yield?

AAny positive integer
BEither true or false
CNon-empty text string
DZero or floating point
Answer & Solution
Correct answer: B. Either true or false
The condition placeholder in an if statement evaluates to true or false.
Practise this question with Quill — ICSE Class 8 →

Keep practising Conditional Statements in Java

Browse all Conditional Statements in Java questions for ICSE Class 8, or explore more Computer Applications topics.

Start a Conditional Statements in Java lesson →