Classes can inherit from another using extends
the default super class is Object
a class A
is an instance of Object
when B extends A, B is also instance of Object
a class can extend null
, and is not an instance of Object
instance of
when B inherits from A, new B()
is also an instance of A
extend over multiple levels
Related Katas
Class
Difficulty Level
BEGINNER
First Published
17 April 2015
Stats
5 tests to solve