Which of the following is not a true statement? A. The first line of every constructor is
Question:
Which of the following is not a true statement?
A. The first line of every constructor is a call to the parent constructor via the super() command.
B. A class is not required to have a constructor explicitly defined.
C. A constructor may pass arguments to the parent constructor.
D. A final instance variable whose value is not set when it is declared or in an initialization block should be set by the constructor.
E. None of the above.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
OCP Oracle Certified Professional Java SE 11 Developer Practice Tests Exam 1Z0 819 And Upgrade Exam 1Z0 817
ISBN: 9781119696131
1st Edition
Authors: Scott Selikoff, Jeanne Boyarsky
Question Posted: