MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following is true about factory method? |
| A. | A factory method is a non-constructor operation that creates and returns class instances |
| B. | Factory methods are widely used in mid-level design patterns and in object-oriented programming in general |
| C. | Factory methods create new instances using constructors or cloning, so they do not rely on any special technique for class instantiation |
| D. | All of the mentioned |
| Answer» E. | |