What will be the OOP approach? (or YOUR approach?)
- by hsmit
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?