Skip to content

Commit 3cc5b4f

Browse files
WRHerbertAlexanderPrendota
authored andcommitted
refactor: fix typo in Classes (Kotlin#60)
'properties' is misspelled as 'propetries'
1 parent 112f994 commit 3cc5b4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/01_introduction/05_Classes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fun main() {
2525
</div>
2626

2727
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`.
2929
3. Creates an instance of the class `Customer` via the default constructor. Note that there is no `new` keyword in Kotlin.
3030
4. Creates an instance of the class `Contact` using the constructor with two arguments.
3131
5. Accesses the property `id`.

0 commit comments

Comments
 (0)