Answer:

CheckingAccount( String accNumber, String holder, int start )
{
  initialization of data
}

Since parameters are used only inside the constructor, they often have shorter, less descriptive names than the names given to more permanent data.

Completing the Constructor

So far, the class looks like this:

class CheckingAccount
{
  // instance variables
  String accountNumber;
  String accountHolder;
  int    balance;

  //constructors
  CheckingAccount( String accNumber, String holder, int start )
  {
     =  ;

     =  ;

     =  ;

  }

   methods

}

Next, complete the constructor with three statements that initialize the object's data.

QUESTION 7:

Complete the constructor.