Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Commit 87dfd91

Browse files
pnhoangSebastianAigner
authored andcommitted
Update 01_delegationPattern.md
1 parent 2f50829 commit 87dfd91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/07_Delegation/01_delegationPattern.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interface SoundBehavior {
88
}
99
1010
class ScreamBehavior(val n:String): SoundBehavior { // 2
11-
override fun makeSound() = println("${n.toUpperCase()} !!!")
11+
override fun makeSound() = println("${n.uppercase()} !!!")
1212
}
1313
1414
class RockAndRollBehavior(val n:String): SoundBehavior { // 2

0 commit comments

Comments
 (0)