summaryrefslogtreecommitdiff
path: root/oop/01-account/AccountTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'oop/01-account/AccountTest.java')
-rw-r--r--oop/01-account/AccountTest.java23
1 files changed, 0 insertions, 23 deletions
diff --git a/oop/01-account/AccountTest.java b/oop/01-account/AccountTest.java
deleted file mode 100644
index 0409d86..0000000
--- a/oop/01-account/AccountTest.java
+++ /dev/null
@@ -1,23 +0,0 @@
-
-public class AccountTest {
-
- /**
- * @param args
- */
- public static void main(String[] args) {
- Account a1 = new Account(); // Instantiation of 'Account' class
- Account a2 = new Account();
-
- System.out.println(a1.getBalance());
-
- a1.deposit(100.0);
- System.out.println(a1.getBalance());
-
- a1.withdraw(50.0);
- System.out.println(a1.getBalance());
-
- a2.deposit(100.0);
- System.out.println(a2.getBalance());
- }
-
-}