// to represent a credit line account public class Credit extends Account{ int creditLine; //The total amount of money they may have access to. double interest; //The APR at which they are charged public Credit(int accountNum, int balance, String name, int creditLine, double interest){ super(accountNum, balance, name); this.creditLine = creditLine; this.interest = interest; } }