diff --git a/_tour/classes.md b/_tour/classes.md index bb3d444f2f..1f4b80b59e 100644 --- a/_tour/classes.md +++ b/_tour/classes.md @@ -42,7 +42,7 @@ class Point(var x: Int, var y: Int) { val point1 = new Point(2, 3) point1.x // 2 -println(point1) // prints (x, y) +println(point1) // prints (2, 3) ``` This `Point` class has four members: the variables `x` and `y` and the methods `move` and