To access a hidden parent field in subclass:
- A
this.field
- B
Cannot access
- Ccheck_circle
super.field
- D
Class.field
Explanation
<code>super.field</code> reaches up to the parent.
AP Computer Science A· difficulty 4/5
To access a hidden parent field in subclass:
this.field
Cannot access
super.field
Class.field
Explanation
<code>super.field</code> reaches up to the parent.
Want 10 more like this — adaptive to your weak spots?