Which is true about Factory Method?

 Posted by Rajnilari2015 on 12/19/2015 | Category: Design Pattern & Practices Interview questions | Views: 12119 | Points: 40
Select from following answers:
  1. Object creation happens through a single factory method for only one single item.
  2. It hides the construction of single object
  3. It exposes a method to the client for creating the object
  4. A factory class will have a factory method that returns a new instance of a class based on the parameter being passed.
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response