From 74e5fcb7606399c8f5e0f58a33b4054aaf7c688a Mon Sep 17 00:00:00 2001 From: MarounMaroun Date: Tue, 21 Nov 2017 08:03:46 +0200 Subject: [PATCH] Fix code comment to print the correct value --- _tour/classes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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