Designing the Public Interface of a Class

  • Naming the methods in the BackAccount object/class

  • Intermezzo: Method Definition

    Constructor methods

  • Controling how objects of your class can be created

  • Syntax to define Constructor Methods

  • Defining Constructor Methods for the BankAccount class

  • Summary: the BankAccount class definition so far....

  • The public interface of a class

  • "Test-Driving" the Public Interface

  • Self-Check