Home / CSE MCQs / JUnit MCQs :: Discussion

Discussion :: JUnit MCQs

  1. In what order is multiple @Before annotated methods run?
  2. A.
    Oldest First
    B.
    Newest First
    C.
    Randomly
    D.
    According to argument list

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    It is not certain which @Before annotated method will run first as all run randomly.


Be The First To Comment