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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Communication between the classes" Watch "Communication between the classes" New topic
Author

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: 3056
    
  33

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