Skip to content
Medium-Easy Analyze Software Design Patterns Multiple Choice

A developer builds an OrderService that directly instantiates MySQLDatabase, SMTPEmailer, and StripePayment inside its methods. Which anti-pattern does this represent?

Analyze — Tests ability to break down and examine complex problems.

Answer Options

A Golden Hammer
B God Object
C Tight Coupling / Dependency Inversion violation
D Premature Optimization

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 15+ more Software Design Patterns questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Software Design Patterns topic (Software Engineering).

More Software Design Patterns Questions