Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Making methods available within classes?
#9
couldn't you just create a void method in one of the classes. I mean, if you put a new method in one of your classes and create an instance of those classes in your other classes, you could just use them.

class 1:
method comes ehre

class 2:
instance of class 1 -> class1.method()
Reply


Messages In This Thread
RE: Making methods available within classes? - by Qkyrie - 10-09-2009, 07:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tutorial] Java Classes, Methods and Objects Eustaquio 0 1,105 10-14-2009, 03:55 AM
Last Post: Eustaquio

Forum Jump:


Users browsing this thread: 2 Guest(s)