Описание тега super
NoneSuper is a keyword or function used to access/invoke members and constructors of a superclass. Since different languages have such a feature, please use in combination with a language tag.
In Object Oriented programming, super
is commonly used keyword to allow access to the members of the superclass from a derived class. It can also be used to select which superclass' constructor to execute when a subclass is created.
Although the concept is prevalent in many object oriented languages, every language has different usages for the keyword.
A few of the basic questions on super
in different languages:
- " super() in Java"
- " How to use 'super' in Python?"
- " Understanding Python super() and init methods"
- " What exactly is super in Objective-C?"
- " What does super. do in ruby?"
A superclass is also called base-class or parent-class and some languages use such keywords instead of super
.