Skip to content

Commit 1d3853a

Browse files
authored
Merge pull request #1696 from tanoggy/patch-1
Update classes.md
2 parents b25a7fb + b616b98 commit 1d3853a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_tour/classes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Point(var x: Int, var y: Int) {
3838
}
3939
4040
val point1 = new Point(2, 3)
41-
point1.x // 2
41+
println(point1.x) // 2
4242
println(point1) // prints (2, 3)
4343
```
4444

0 commit comments

Comments
 (0)