Account
class using a Unified Modeling Languaje (UML) Class diagram.
Account |
<<constructors>>
|
projects/BankingPrj/
using the cd command in the terminal window.cd ~/projects/BankingPrj/
TestAccount
ClassTestAccount
file. This class acts as a program to create an Account
object with an initial balance of 100. The test program will
then deposit 50 and then withdraw 147. Finally, the test program must
print out the balance of the class to the standard output stream.TestAccount
Programjavac
command to compile the test program.
TestAccount
Programjava
command to run the test program.