Fix typo on examples

This commit is contained in:
Victor
2021-02-25 22:11:51 +01:00
committed by GitHub
parent ba3e0c4c35
commit f6d4686898

View File

@@ -141,7 +141,7 @@ There are two ways to define the members of a class, and regardless of whichever
class BankAccount{ class BankAccount{
+String owner +String owner
+BigDecimal balance +BigDecimal balance
+deposit(amount) bool +deposit(amount)
+withdrawl(amount) +withdrawl(amount)
} }
``` ```
@@ -151,8 +151,8 @@ class BankAccount{
class BankAccount{ class BankAccount{
+String owner +String owner
+BigDecimal balance +BigDecimal balance
+deposit(amount) bool +deposit(amount)
+withdrawl(amount) int +withdrawl(amount)
} }
``` ```