Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of these values can a boolean variable contain?
  2. A.
    True & False
    B.
    0 & 1
    C.
    Any integer value.
    D.
    Both a & b

    View Answer

    Workspace

    Answer : Option A

    Explanation :

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


Be The First To Comment