You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/01_introduction/05_Classes.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ fun main() {
25
25
</div>
26
26
27
27
1. Declares a class named `Customer` without any properties or user-defined constructors. A non-parameterized default constructor is created by Kotlin automatically.
28
-
2. Declares a class with two propetries: immutable `id` and mutable `email`, and a constructor with two parameters `id` and `email`.
28
+
2. Declares a class with two properties: immutable `id` and mutable `email`, and a constructor with two parameters `id` and `email`.
29
29
3. Creates an instance of the class `Customer` via the default constructor. Note that there is no `new` keyword in Kotlin.
30
30
4. Creates an instance of the class `Contact` using the constructor with two arguments.
0 commit comments