Hi people.
I'm having a lot of trouble with method calling. If any of you guys could explain it simply (how to call a method? Why? when?) I would appreciate that very much.
Thank you.
Printable View
Hi people.
I'm having a lot of trouble with method calling. If any of you guys could explain it simply (how to call a method? Why? when?) I would appreciate that very much.
Thank you.
Take a look at the tutorial:
Defining Methods (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
Passing Information to a Method or a Constructor (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
Returning a Value from a Method (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
Thanks a lot, I'll read it all!