Check out example codes for "public class extends java super". It will help you in understanding the concepts better.

Code Example 1

public MountainBike(int startHeight, 
                    int startCadence,
                    int startSpeed,
                    int startGear) {
    super(startCadence, startSpeed, startGear);
    seatHeight = startHeight;
}

Learn ReactJs, React Native from akashmittal.com