<code>super(args)</code> must be the
- Acheck_circle
First statement in subclass constructor
- B
Last statement
- C
Inside if
- D
Anywhere in body
Explanation
Java enforces: super() (or this()) is the first statement.
AP Computer Science A· difficulty 4/5
<code>super(args)</code> must be the
First statement in subclass constructor
Last statement
Inside if
Anywhere in body
Explanation
Java enforces: super() (or this()) is the first statement.
Want 10 more like this — adaptive to your weak spots?