E.12. Calling Methods
Methods are called using dot notation against the object that defines the method.
Car myCar = new Car(); myCar.honk();
Get Java™ for ColdFusion® Developers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.