Object Visibility
OOP objects mimic (imitate) real world objects:
Like real world objects, OOP objects can be:
- VISIBLE – can be seen by a user (e.g., a house, car, etc.)
- INVISIBLE – cannot be seen DIRECTLY by a user (time, date).
NOTE: Invisible objects, however, can be seen through other visible objects (e.g., a clock, watch, phone, computer, etc.)
- NEITHER – loosely speaking, neither visible nor invisible (e.g., sound)
NOTE: Sound can not be seen but only heard by means of another visible object (e.g., a speaker, headset, radio, or TV)
© 2015. RMCS. All rights reserved.