Which of these values can a boolean variable contain?

Q & ACategory: JavaWhich of these values can a boolean variable contain?
Admin Staff asked 5 years ago

Which of these values can a boolean variable contain?
a) True & False
b) 0 & 1
c) Any integer value
d) true

1 Answers
Admin Staff answered 5 years ago

a) True & False