From b616b9847e36e260d4cccc60571394c8e0a36ce4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=A2n=20Oggy?= Date: Tue, 19 May 2020 15:17:57 +0700 Subject: [PATCH] Update classes.md --- _tour/classes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_tour/classes.md b/_tour/classes.md index 4b32c78aee..bb4e887088 100644 --- a/_tour/classes.md +++ b/_tour/classes.md @@ -38,7 +38,7 @@ class Point(var x: Int, var y: Int) { } val point1 = new Point(2, 3) -point1.x // 2 +println(point1.x) // 2 println(point1) // prints (2, 3) ```