What keyword has to be used for inheritance in different cases?
Computer scienceProgramming languagesJavaCode organizationObject-oriented programmingClass hierarchiesInterfaces and abstract classes
Abstract class vs interface
Different keywords
Report a typo
Choose one option for each row
| extends | implements | |
|---|---|---|
| parent - interface, child - class | ||
| parent - interface, child - abstract class | ||
| parent - interface, child - interface | ||
| parent - abstract class, child - abstract class | ||
| parent - abstract class, child - class |
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.