Home / CSE MCQs / JUnit MCQs :: Discussion

Discussion :: JUnit MCQs

  1. Constructor-based DI is accomplished when the container invokes a class constructor with ____________
  2. A.
    A number of arguments
    B.
    No argument
    C.
    Just one argument
    D.
    Null objects

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    Each argument represents a dependency on some other class.


Be The First To Comment