+ 8

It is possible to use 'super' keyword for variable?

22nd Mar 2018, 6:09 PM
B Karthik Marimuthu
B Karthik Marimuthu - avatar
3 odpowiedzi
0
Yes ist possible
24th Mar 2018, 8:41 PM
Dimitrij;)
+ 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.
22nd Mar 2018, 6:27 PM
Baraa AB
Baraa AB - avatar
+ 4
please give some examples here #Dimitriji
25th Mar 2018, 3:48 PM
B Karthik Marimuthu
B Karthik Marimuthu - avatar