A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. 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:All of the mentioned
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions: