Question:Which one is a valid declaration of a boolean?
A boolean b1 = 0; B boolean b2 = 'false'; C boolean b3 = false; D boolean b4 = Boolean.false(); E boolean b5 = no;
+ AnswerC
+ ExplanationA boolean can only be assigned the literal true or false.
+ Report