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:
Will then Object A retrieve P, Q and R by itself (within action X), or must these values be parameters for action X?
This is too general a question to be answered concretely. Either approach can be good in certain situations. Some factors:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With