Core Java theorytheory 0/50 · 0%
OOP · easy

16. This and Super

Referencing current and parent instances.

'this' refers to the current object. 'super' refers to the parent object.

Check your understanding

  1. 1. How to call parent constructor?

  2. 2. Disambiguating field from parameter?