Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sentence #1769

Open
wants to merge 1 commit into
base: 2nd-ed
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion get-started/ch2.md
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ Notice that both child class instances have a `print()` method, which was an ove

The fact that both the inherited and overridden methods can have the same name and co-exist is called *polymorphism*.

Inheritance is a powerful tool for organizing data/behavior in separate logical units (classes), but allowing the child class to cooperate with the parent by accessing/using its behavior and data.
Inheritance is a powerful tool for organizing data/behavior in separate logical units (classes), by allowing the child class to cooperate with the parent by accessing/using its behavior and data.

### Modules

Expand Down