PPT Slide
- If the method is NOT inside the class where method declared, then the object must be specified.
class WallstreetJitters {
public void panicSell ( ) {
if (fedChair.raisesInterest())
} // of WallstreetJitters
Calling (or Invoking) Methods
Greenspan class must have this method!
These methods must appear in this class!
<object reference>.<method name>