Question: You are asked to design an application where users can create new money pots and add money into any pot, but only users who
You are asked to design an application where users can create new money pots and add money into any pot, but only users who enter a passcode generated when a pot is created can view and reduce the balance stored in any particular pot. (Assume very simple security: the passcode is a short integer and a simple check suffices.) Write down the classes, methods and data fields needed, to ensure security. You do not need to code the methods in detail.
Step by Step Solution
3.39 Rating (149 Votes )
There are 3 Steps involved in it
CODE MoneyPotjava public class MoneyPot containing two instance variables private double money cu... View full answer
Get step-by-step solutions from verified subject matter experts
