Java   View all facts   Glossary   Help
syntactic unit > keyword > super
Next keywordsynchronized    Upkeyword    Previous keywordstatic   

super
subjectfact 
superhas definition A Java language keyword that allows a method to refer to hidden variables and overridden methods of the superclassadded by: JK, source: Sun Java Tutorial, reference: Tutorial, 2001-10-19 11:38:02.0
has definition A keyword that refers to the superclass of an objectadded by: DS, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:38:02.0
has example
//Example of a constructor that explicitly calls a constructor in the superclass using the keyword super
public Movie(int m)}
super(m);
...
}
added by: JK, source: On To Java, 2001-10-19 11:38:02.0
has purpose added by: Doug, 2001-10-19 11:38:02.0
has syntax
super.variableOrMethodNameInSuperclass
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:02.0
is a subtopic of Classes2001-10-19 11:38:02.0
is an instance of keywordadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:38:02.0
syntactic unithas syntax rule
bold = mandatory
italic = non-terminal
normal font = optional
2001-10-19 11:38:04.0