Medium-EasyAnalyzeSoftware Design PatternsMultiple 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
AGolden Hammer
BGod Object
CTight Coupling / Dependency Inversion violation
DPremature 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).