Home » JAVA Programming » Basic Datatypes » Question
  1. Which of these values can a boolean variable contain?
    1. 0 & 1
    2. True & False
    3. Any integer value
    4. true
    5. None of these
Correct Option: B

Boolean variable can contain only one of two possible values, true and false.



Your comments will be displayed only after manual approval.