What is difference between super and super() in Java?

super and super() look alike, but they are very different in their functionality (purpose). super with variables and methods: super is used to call super class variables and methods by the subclass object when they are overridden by subclass. super() with constructors: super() is used to call super class constructor from subclass constructor. Let us …

What is difference between super and super() in Java? Read More »