+ 8
It is possible to use 'super' keyword for variable?
4 Respostas
0
Yes ist possible
+ 8
The form super.Identifier refers to the field named Identifier of the current object, but with the current object viewed as an instance of the superclass of the current class.
The form T.super.Identifier refers to the field named Identifier of the lexically enclosing instance corresponding to T, but with that instance viewed as an instance of the superclass of T.
In both cases, it is clear that an instance object is needed.
+ 4
please give some examples here #Dimitriji