inter-method communication : Java Glossary


inter-method communication


When classes want to communicate, here are some of the methods.

It quite difficult to change your mind later between static/instance methods. The code to invoke them is quite different and cannot be mechanically changed.


Within in a class, you can communicate by:

Refactoring to convert a parameter propagated all over to an instance variable or back is very tedious. Think carefully before you start.

This page is posted
on the web at:

Optional Replicator mirror
on local hard disk J:

Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

Your face IP:[]
You are visitor number