Merge pull request #1908 from MetalBlueberry/patch-1

Fix typo on examples
This commit is contained in:
Knut Sveidqvist
2021-02-27 10:35:28 +01:00
committed by GitHub

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)
} }
``` ```