jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes Communication between the classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Communication between the classes" Watch "Communication between the classes" New topic

Communication between the classes

shivang sarawagi
Ranch Hand

Joined: Jun 19, 2008
Posts: 153
I am making a Project management system in core java. I have 5 classes for that, but i am facing problems in communicating between the classes using class objects
and arraylists. I haven't done this before so i am not clear with the concept of interaction between the classes. Is there any tutorial for that ?? i will be grateful if anyone
can help. Thanks
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3152

Communication between classes happens via method invocations on objects of the classes (if the methods are not static) or on the classes themselves (if the method is static). Let me give an example:

The Class and Objects tutorial must of be of some help.

Mohamed Sanaulla | My Blog
I agree. Here's the link: http://aspose.com/file-tools
subject: Communication between the classes
It's not a secret anymore!