Multiple choice

Object can be viewed as a ______which receives and sends messages.

  1. white box

  2. black box

  3. reference box

  4. none of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Objects are viewed as black boxes because users interact through interfaces without seeing internal implementation. The black box metaphor encapsulates the OOP principle of information hiding - inputs go in, outputs come out, but internal processing remains invisible.