File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Communication between the classes

 
shivang sarawagi
Ranch Hand
Posts: 155
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 3159
33
Google App Engine Java Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic