Hints: For each class, it is required to implement constructors, setters, getters, toString() method, and any other necessary method • If the user tries to do an operation that could violate the state of objects, the operation should be ignored and the application should display an error message (e.g. creating an account for the same holder twice, etc.) • Checking equality of any 2 objects should be done via the equals() method There is a class that will do the main job of the bank as follows: o I t has a collection to store the accounts and another one to store the transactions o It has static methods, one for each operation happens frequently o For each operation, a message should be displayed to the user to explain the status of the operation (i.e. if it was successful or not) Testing: After implementing the required classes, design and implement a testing class to test them as follows: • Create at least 3 bank accounts and do some transactions on them • Try to violate the state of the objects and show that your code prevents all violations Show that the other operations that happen frequently are working fine • At the end, the required data should be stored into a text file and this file should be saved automatically inside the folder contains your Java project
Hints: For each class, it is required to implement constructors, setters, getters, toString() method, and any other necessary method • If the user tries to do an operation that could violate the state of objects, the operation should be ignored and the application should display an error message (e.g. creating an account for the same holder twice, etc.) • Checking equality of any 2 objects should be done via the equals() method There is a class that will do the main job of the bank as follows: o I t has a collection to store the accounts and another one to store the transactions o It has static methods, one for each operation happens frequently o For each operation, a message should be displayed to the user to explain the status of the operation (i.e. if it was successful or not) Testing: After implementing the required classes, design and implement a testing class to test them as follows: • Create at least 3 bank accounts and do some transactions on them • Try to violate the state of the objects and show that your code prevents all violations Show that the other operations that happen frequently are working fine • At the end, the required data should be stored into a text file and this file should be saved automatically inside the folder contains your Java project
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter8: Arrays
Section: Chapter Questions
Problem 3E
Related questions
Question
I need it on netbeans please
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 6 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage