Home / CSE MCQs / JUnit MCQs :: Discussion

Discussion :: JUnit MCQs

  1. For the statement if( a || b) , which is not a mutant?
  2. A.
    if(a && b)
    B.
    if(a & b)
    C.
    if( a | b)
    D.
    if( a || b)

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    The other three statements alter the original by changing the logical operator, hence introducing mutants.


Be The First To Comment