Yes. Java is very popular for Web programming because of its convenient security features.
display()
Method
It would be nice to have a display()
method in this class that
shows the use count as well as the other data.
Here is the display()
class CheckingAccount { private String accountNumber; private String accountHolder; private int balance; private int useCount = 0; . . . . void display() { System.out.println( accountNumber + "\t" + accountHolder + "\t" + balance + ); } }
Modify the method so that it also prints out the use count.