Skip to content

Commit 0dad7fe

Browse files
authored
Merge pull request basarat#315 from timkraut/patch-1
Fix typo
2 parents ab87dbb + f512d99 commit 0dad7fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/classes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ As always these modifiers work for both member properties and member functions.
118118
### Abstract
119119
`abstract` can be thought of as an access modifier. We present it separately because opposed to the previously mentioned modifiers it can be on a `class` as well as any member of the class. Having an `abstract` modifier primarily means that such functionality *cannot be directly invoked* and a child class must provide the functionality.
120120

121-
* `abstract` **classes** cannot be directly instantiated. Instead the user must create some `class` that inherit from the `abstract class`.
121+
* `abstract` **classes** cannot be directly instantiated. Instead the user must create some `class` that inherits from the `abstract class`.
122122
* `abstract` **members** cannot be directly accessed and a child class must provide the functionality.
123123

124124
### Constructor is optional

0 commit comments

Comments
 (0)