Q:

Which of the following is true about factory method

0

Which of the following is true about factory method


  1. A factory method is a non-constructor operation that creates and returns class instances
  2. Factory methods are widely used in mid-level design patterns and in object-oriented programming in general
  3. Factory methods create new instances using constructors or cloning, so they do not rely on any special technique for class instantiation
  4. All of the mentioned

Answers

D. All of the mentioned

total answers (1)