create an interface for Bank with balance withdraw and deposit as concrete methods. using that interface, create a class

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

create an interface for Bank with balance withdraw and deposit as concrete methods. using that interface, create a class

Post by answerhappygod »

create an interface for Bank with balance withdraw and deposit as concrete methods. using that interface, create a class bank account with data members name, account number and address method display () is needed to show balance. derive a subclass savings account and add the following details: return on investment and the method calcAmt() to show amount in the account after 1 year.create instance of savings account and show the use of withdraw and deposit abstract methods
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply