Bank Account Program

# Introduction In this challenge, we will simulate different operations of bank accounts. We will create a bank account class that encapsulates the attributes and methods of the class, and then create two subclasses - a savings account class and a credit account class. The savings account class will have an additional annual interest rate property and will perform the calculation of interest and deposit it into the account. The credit account class will have additional properties of overdraft limit and cash withdrawal limit and will override the withdrawal behavior of the parent class. This challenge will test your understanding of encapsulation, inheritance, and polymorphism.

|60 : 00

Click the virtual machine below to start practicing