Intial app that uses core Java and Junit. All the details are stored in Hash map instead of using any database.
- Clone this repo
- Import the folder in Eclipse IDE.
- Run the JUnit tests
Four 4 model classes like... BankAccount, CreditCard , BankTransactions & CreditCardTransactions are created.
By using these models classes, I constructed the given data into HashMap in ConstructDB class.
All the business methods are available in BankAccountDao class.
A method is written to fetch all non positive values
Method for calculating sum of the amounts by type of the card.
method is written to identify time interval like biweekly or Monthly.