inter-method communication : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

inter-method communication

Interclass

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.

Intraclass

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:

http://mindprod.com/jgloss/intermethodcommunication.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\intermethodcommunication.html
Canadian Mind Products
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.

IP:[65.110.21.43]
Your face IP:[18.212.242.203]
You are visitor number