What pattern is also known as Virtual Constructor?
-
Abstract Factory
-
Wrapper
-
Memento
-
Factory Method
D
Correct answer
Explanation
Factory Method is known as Virtual Constructor because it defers object instantiation to subclasses, allowing the client code to work with product interfaces without knowing the concrete classes being instantiated. Abstract Factory creates families of related objects, not individual instances via virtual construction.