Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of these operators can skip evaluating right hand operand?
  2. A.
    !
    B.
    |
    C.
    &
    D.
    &&

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    Operator short circuit and, &&, and short circuit or, ||, skip evaluating right hand operand when output can be determined by left operand alone.


Be The First To Comment