Method Invocation/Call
Syntax:
method_name (values);
object_name.method_name(values);
classname.method_name(values);
Examples:
computeSum(); // call to method from within the class where it is located
YourRose.paintIt(Red);
Math.abs(X);
Previous slide
Next slide
Back to first slide
View graphic version