help with PasswordProtector class
MyBank is the client program, written below and it can't be modified; the program must run from the original version of MyBank.
A new class, PasswordProtector, must be written to accompany the class BankAccount and its subclasses SavingsAccount & CheckingAccount.
The PasswordProtector class stores a password and compares it to the password instance field. The user should be given 3 tries to enter a password. The boolean method checkBalance will return true if the user enters the password within 3 tries, false if not.