Elementary | Middle
Middle | High
AI
Use Cases
Teaching
Tools
Explore our languages
Start a new project
Open a blank sandbox in any language.
Company
Community
Explore
Click on one of our programs below to get started coding in the sandbox!
View All
With inheritance, a subclass (for example, `Dog`) extends a superclass (for example, `Animal`) and automatically gets its non-private members. In Java, the `extends` keyword creates this relationship.