What Other Fields May Be Included in the Customer Class
Autor: chaitanya529 • April 8, 2015 • Case Study • 673 Words (3 Pages) • 1,175 Views
Home Work -2 ( KOLLA KRISHNA CHAITANYA)
QUESTION-1
Part-1 : What other fields may be included in the Customer class?
Ans: The other fields that come under customer class in order to keep track of bank accounts are
- Customer current address
- Customer permanent address
- Contact phone number
- Email address
- Alternative email address
- Customer user name
- Current balance in account
Part-2: What behavior may be included in the customer class?
Ans: Behaviors of the customer class is that what are the modifications and changes or update he is able to do on his side.
- Customerinfo()- Allow customer to enter his information
- Updatecustomerinfo()- Allow customer to update his contact information
- Getcustomerinfo()- Allow customer to access his information
- Balancecheck()- allow the customer to check his balance
- Addbillpay()- Allow the customer to bill to his account
- Deletebillpay()- Allow customer to delete the bill from his account
- Billpay()- Allow to pay the bill
- Transfermoney()- allow the customer to transfer money
- Receivemoney()- Allow customer to accept the money from other accounts
- Applydebitcard()- customer can apply for debit card
- Canceldebitcard()- Cutomer can cancel his debit card
- Reportcardloss()- customer reports his card loss
- Faq()- Customer can see the frequently asked questions and post the questions if needed any help from cutomer care.
- Addjointaccount()- customer can add other person and have a join account
- Deletejointaccount()- Customer can delete his joint account
Part-3 : List at least five other classes that may be included in the software system for keeping track of a bank account.
Ans:
- Account- includes all the methods that come under account class
- Checkingsaccount- includes all the methods and attributes related to checkings account
- Savingsaccount- includes all the methods and attributes of the savings account
- Debitcreditcard- includes all the methods and attributes that relates to debitor credit card
- Billpay- includes all the method and attribute related to billpay
- Transactions- includes all the methods and attributes related to transactions.
Question-2
Part-1: List at least five classes that might be part of such a system.
Ans:
Some of the classes that might be part of library management system are:
- Account
- Book
- Employee Extends Person
- Bookstatus
- Library System
Part-2: For each of the object that might be included in the above systems design a class by listing fields and behavior that can be included in that class.
Ans:
- Account
Attributes:
Account holder name;
Account holder id;
Account holder address;
Account holder contact info;
Methods:
Setaccountname();
Setaccountholderid();
Setaccountholderadress();
Setaccountcontantinfo();
...