Start learning →

Which logical values can a boolean variable hold in Java?

Atrue and false
B0 and 1 values
Cyes and no tags
Dhigh and low bit
Answer & Solution
Correct answer: A. true and false
A Java boolean variable is a logical type that only stores true or false.
Practise this question with Quill — ICSE Class 8 →

Keep practising Java Data Types and Variables

Browse all Java Data Types and Variables questions for ICSE Class 8, or explore more Computer Applications topics.

Start a Java Data Types and Variables lesson →