Setter Dependency Injection with Map of Custom type Example
In some scenarios, we may need to inject a map of Custom object to another object. Consider the example where Person has an Answer sheet which includes question and corresponding answer. In this case, let us use Map which stores Question type as a key and Answer type as a value. Let us see the […]