Skip to content

Commit 1afc9d7

Browse files
authored
Merge pull request #932 from MarounMaroun/maroun/fix_print_comment
Fix code comment to print the correct value
2 parents c64aed8 + 74e5fcb commit 1afc9d7

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
@@ -42,7 +42,7 @@ class Point(var x: Int, var y: Int) {
4242
4343
val point1 = new Point(2, 3)
4444
point1.x // 2
45-
println(point1) // prints (x, y)
45+
println(point1) // prints (2, 3)
4646
```
4747

4848
This `Point` class has four members: the variables `x` and `y` and the methods `move` and

0 commit comments

Comments
 (0)