Question
I would like to know how to do UML diagram for the class BankAccount (with private attributes: name, number and balance and public metods: getBalance(),
I would like to know how to do UML diagram for the class BankAccount (with private attributes: name, number and balance and public metods: getBalance(), withdraw() and deposit()). Draw the diagram of two child classes: CheckingAccout and SavingsAccout. The class CheckingAccount has one private attribute: fee and one public method: deductFee(). The class SavingsAccount has one private attribute: interestRate and public methods: getInterest() and setInterest(i:float). Show the arrows for the inheritance relationships between the classes. language python.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started