PRG420 (Version 10) - Week 1 DQ 2 Bank manager and you are helping a new bank teller
You are a bank manager and you are helping a new bank teller understand the kind of accounts the bank offers. If a customer comes in asking to open a new savings account, the teller needs to ask what kind of account—passbook savings or certificate of deposit—the customer would like to open.
If savings account is a class, give an example of each of the following as it relates to that savings account.
Explain your reasoning behind your example.
o Superclass
o Subclass
o Attribute
o Method
o Instance (object)
o Encapsulation
You are a bank manager and you are helping a new bank teller understand the kind of accounts the bank offers. If a customer comes in asking to open a new savings account, the teller needs to ask what kind of account—passbook savings or certificate of deposit—the customer would like to open.
If savings account is a class, give an example of each of the following as it relates to that savings account.
Explain your reasoning behind your example.
o Superclass
o Subclass
o Attribute
o Method
o Instance (object)
o Encapsulation
0 comments:
Post a Comment