The compiler will add a call to
super() unless you have already put in a call to
- 2 Object Orientation
- from OCA Java SE 8 Programmer I Exam Guide (Exams 1Z0-808)
- Publisher: McGraw-Hill
- Released: May 2017
Compiler will always put a call to super constructor, no matter you have this() as your first line statement.
Share this highlighthttp://www.safaribooksonline.com/a/oca-java-se/11829969/