Q.

It is also known as Virtual Constructor and it is used to define an interface for creating an object but letting the subclass decide which class to instantiate, this pattern is :

A. builder
B. abstract factory
C. prototype
D. factory method
Answer» D. factory method
1.2k
0
Do you find this helpful?
2

Discussion

No comments yet