diff --git a/.gitignore b/.gitignore index 6542936..38899ce 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ os/code/target/* -database/code/__pycache__/ +database/code/__pycache__ +*.class diff --git a/oop/code/OopBankAccount.java b/oop/code/OopBankAccount.java deleted file mode 100644 index b341e06..0000000 --- a/oop/code/OopBankAccount.java +++ /dev/null @@ -1,23 +0,0 @@ -public class OopBankAccount { - private Integer number; - private Integer balance; - - public OopBankAccount(Integer number, Integer balance) { - this.number = number; - this.balance = balance; - } - - void deposit(Integer amount) { - this.balance += amount; - } - - void withdraw(Integer amount) { - this.balance += amount; - } - - void transfer(OopBankAccount destination, Integer amount) { - this.withdraw(amount); - destination.deposit(amount); - } - -}