Skip to content

Commit

Permalink
Update 01_delegationPattern.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pnhoang authored and SebastianAigner committed Jun 18, 2023
1 parent 2f50829 commit 87dfd91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/07_Delegation/01_delegationPattern.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface SoundBehavior {
}
class ScreamBehavior(val n:String): SoundBehavior { // 2
override fun makeSound() = println("${n.toUpperCase()} !!!")
override fun makeSound() = println("${n.uppercase()} !!!")
}
class RockAndRollBehavior(val n:String): SoundBehavior { // 2
Expand Down

0 comments on commit 87dfd91

Please sign in to comment.