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 :
β
Correct Answer: (D)
factory method
You must be Logged in to update hint/solution
Discussion
Question Analytics
391
Total Visits
2 y ago
Published
Mr. Dubey
Publisher
96%
Success Rate