Skip to content
Sharp

Object-oriented programming · interview question

When designing a 'Product' class, which attribute is least likely to belong directly to the class?

Multiple choiceMediumchapter-2-curatedpremiumoopbasic-modeling
Choose one answer
Answer and explanation

Correct answer

A. Customer Review

Why

Customer reviews are related to product experience but not intrinsic to the product itself. They may be better managed separately.

Test yourself on Object-oriented programming

A free test with instant, explained results. No account needed.

Start free test
All Object-oriented programming questions →