Get your CodeRanch badge!*
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 147
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: 3054

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:
subject: Communication between the classes
Similar Threads
Difference between Inner class and anonymous class
Difference between Inner class and anonymous class
Re: Java Bean
Difference between Inner class and anonymous class
JBOSS training, worth it ?