01:198:111 Lecture 11: rec11
cyansea-lion159 and 56 others unlocked
47
01:198:111 Full Course Notes
Verified Note
47 documents
Document Summary
Exercise 2: bank account class: imagine that you work for a bank (that is not about to collapse) and that you will be writing software to manage customers" accounts. You decide to write a class that represents an individual bank account. What operations should your class offer? (think about what people do with bank accounts. : now, implement your class in java. Define fields for each of the pieces of data you decided to store. Define and implement methods for each of the operations you decided to have your class offer: think of sequences of these operations that would be good to use to test the functionality of the methods in your class.