Chapter 9. Object-Oriented Techniques


    Introduction

    Section 9.1.  Printing Objects: Formatting with toString( )

    Section 9.2.  Overriding the Equals Method

    Section 9.3.  Overriding the hashCode Method

    Section 9.4.  The Clone Method

    Section 9.5.  The Finalize Method

    Section 9.6.  Using Inner Classes

    Section 9.7.  Providing Callbacks via Interfaces

    Section 9.8.  Polymorphism/Abstract Methods

    Section 9.9.  Passing Values

    Section 9.10.  Enforcing the Singleton Pattern

    Section 9.11.  Roll Your Own Exceptions

    Section 9.12.  Program: Plotter



Java Cookbook
Java Cookbook, Second Edition
ISBN: 0596007019
EAN: 2147483647
Year: 2003
Pages: 409
Authors: Ian F Darwin

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