{"service":"corpus","corpus":"git","source":"Software Heritage origin index (GitHub origins)","license":"Per source; see source terms","citation":"","record":{"id":"initro/Project11_3","title":"initro/Project11_3","text":"(Subclasses of Account) In Programming Exercise 8.7, the Account class was defined to model a bank account. An account has the properties account number, balance, annual interest rate, and date created, and methods to deposit and withdraw funds. Create two subclasses for checking and savings accounts. A checking account has an overdraft limit, but a savings account cannot be overdrawn. Draw the UML diagram for the classes and then implement them. Write a test program that creates objects of Account, SavingsAccount, and CheckingAccount and invokes their toString() methods.","snippet":"","snippet_marked":"","source":"Software Heritage origin index (GitHub origins)","citation":"https://git.go-v.org/record/initro%2FProject11_3","license":"Per source; see source terms","year":"","url":"/record/initro%2FProject11_3","fields":{},"description":"(Subclasses of Account) In Programming Exercise 8.7, the Account class was defined to model a bank account. An account has the properties account number, balance, annual interest rate, and date created, and methods to deposit and withdraw funds. Create two subclasses for checking and savings accounts. A checking account has an overdraft limit, but a savings account cannot be overdrawn. Draw the UML diagram for the classes and then implement them. Write a test program that creates objects of Account, SavingsAccount, and CheckingAccount and invokes their toString() methods."},"generated_at":"2026-12-01T20:56:32Z"}