Intermediate Object-Oriented Programming Concepts
Q54 / 100

Which design pattern provides an interface for creating objects without specifying their concrete classes?

Correct! Well done.

Incorrect.

The correct answer is A) Factory Method

A

Correct Answer

Factory Method

Explanation

The Factory Method pattern delegates object creation to subclasses or factory methods, decoupling client code from concrete class names.

Progress
54/100