A subclass calls an inherited public method
- A
Only with super.method()
- B
Only with this.method()
- Ccheck_circle
Without this/super (just method name)
- D
Cannot call
Explanation
Direct call works; this.method() also works.
AP Computer Science A· difficulty 3/5
A subclass calls an inherited public method
Only with super.method()
Only with this.method()
Without this/super (just method name)
Cannot call
Explanation
Direct call works; this.method() also works.
Want 10 more like this — adaptive to your weak spots?