Wednesday, 20 April 2016

What are the valid ways is which an object define its dependency ?


1. Through Constructor arguments
2. Arguments to a factory method
3. properties which are set on the object instance after it has been constructed or returned from a factory method

No comments:

Post a Comment

Note: only a member of this blog may post a comment.