Java Code

Java document body, the start of the function declaring variables and defining methods

Java Code

Declaring more methods (Java)

Java Code

Showing the menu that the user can select from

Java Code

If and else statements to make sure that a user has certain logical parameters

Java Code

formatting the date format to be MM/DD/YYYY so there is a time stamp as well as defining more parameters and prompting a user to make a decision

Java Code

Declaring a private method to handle displaying the portfolio

Test Case 1

Testing deposit and showing account

Test Case 2

Displaying current balance in account

Test Case 3

showing brokerage account to see all deposits with dates and stocks

Test Case 4

Depositing money and using the deposited money to purchase stocks

Test Case 5

Withdrawing money and purchasing stock test

Test Case 6

Displaying quantity after purchasing and withdrawing and depositing