diff --git a/src/main/java/seedu/bankwithus/Account.java b/src/main/java/seedu/bankwithus/Account.java new file mode 100644 index 0000000000..157b4f0222 --- /dev/null +++ b/src/main/java/seedu/bankwithus/Account.java @@ -0,0 +1,28 @@ +package seedu.bankwithus; + +public class Account { + protected String name; + protected float balance; + + + /** + * @param name initialise in the name of the account + * @param balance initialise the balance of the account + */ + public Account(String name, float balance){ + this.name = name; + this.balance = balance; + } + + /** + * @return returns a string contains the name of the Account + */ + public String getAccountName(){ + return name; + } + + public float getAccountBalance(){ + return balance; + } + +} diff --git a/text-ui-test/EXPECTED.TXT b/text-ui-test/EXPECTED.TXT index 892cb6cae7..e69de29bb2 100644 --- a/text-ui-test/EXPECTED.TXT +++ b/text-ui-test/EXPECTED.TXT @@ -1,9 +0,0 @@ -Hello from - ____ _ -| _ \ _ _| | _____ -| | | | | | | |/ / _ \ -| |_| | |_| | < __/ -|____/ \__,_|_|\_\___| - -What is your name? -Hello James Gosling