Super and Protected

super keyword

Enables the subclass to access methods from the superclass

A super constructor must be initialized first before accessing the superclass methods.

super(/* insert parameters here*/);
super.method();

protected keyword

This modifier makes the fields and methods visible of the current class to its subclasses. Replace the private modifier of the field you want the subclass to have access to.