We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ab022e commit 7a1c272Copy full SHA for 7a1c272
_th/tour/traits.md
@@ -141,7 +141,7 @@ iterator.next() // returns 1
141
> ```
142
>
143
> ถ้าอิงจากตัวอย่างจาก code block ด้านล่าง เราจะเห็นได้ว่า code ด้านบน\
144
-> เราส่งตัวแปร `dog` ซึ่งเป็น instance ของคลาส `Dog`\
+> เราส่งตัวแปร `dog` ซึ่งเป็น instance ของคลาส `Dog` ไปให้ function `getPetName`\
145
> โดยที่คลาส `Dog` ก็เป็น subtype ของ trait `Pet` อีกทีหนึ่ง
146
147
{% tabs trait-pet-example class=tabs-scala-version %}
0 commit comments