Section E.12. Calling Methods

   

E.12 Calling Methods

Methods are called using dot notation against the object that defines the method.

 Car myCar = new Car();  myCar.honk(); 

   
Top


Java for ColdFusion Developers
Java for ColdFusion Developers
ISBN: 0130461806
EAN: 2147483647
Year: 2005
Pages: 206
Authors: Eben Hewitt

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net