Igor Baiborodine wrote:Hi,
this is from Devaka's ExamLab:
Correct answer is "Sub1 2".
It's not clear for me why while evaluating ga.i, value is taken from Greek class?
The Arabic.getI() method overrides Greek.getI(), but the Arabic.i field does
not override Greek.i. Overriding is a method-only thing.
Did that help?
We say that Arabic.i "shadows" Greek.i. From within the Greek class, Arabic.i is hidden by Greek.i, but that doesn't apply outside the Greek class.