What will be the OOP approach? (or YOUR approach?)
Posted
by hsmit
on Stack Overflow
See other posts from Stack Overflow
or by hsmit
Published on 2010-06-03T10:10:34Z
Indexed on
2010/06/03
10:14 UTC
Read the original article
Hit count: 181
I'm having difficulties with some general OOP & Java approach. There are various ways to let classes/objects communicate with each other. To give a simple example:
- I need object A to perform action X.
- Object A needs P, Q and R to perform this action X.
Will then Object A retrieve P, Q and R by itself (within action X), or must these values be parameters for action X?
© Stack Overflow or respective owner