1.

Constructor-based DI is accomplished when the container invokes a class constructor with ____________(a) A number of arguments(b) No argument(c) Just one argument(d) Null objectsThe question was asked in examination.The query is from The Controller Component in division Mastering JUnit of JUnit

Answer»

Right OPTION is (a) A NUMBER of arguments

Easiest EXPLANATION: Each argument REPRESENTS a dependency on some other class.



Discussion

No Comment Found

Related InterviewSolutions