Inside a classs constructor
super()` can be used
extend
a class and use super()
to call the parent constructor
super()
may also take params
it is important where you place your super()
call!
use super.constructor
to find out if there is a parent constructor
Related Katas
Class
- creation
- accessors
- static
- extends
- more extends
- super in method
- super in constructor
Difficulty Level
INTERMEDIATE
First Published
22 April 2015
Stats
4 tests to solve