If a subclasses constructor does not make an explicit call to a superclass's constructor, ______________________ .
A) a run-time error will result.
B) a compile-time error will result.
C) the constructor will be called anyway.
D) the class will be implicitly declared as abstract.
E) none of the above
Correct Answer:
Verified
Q2: Methods and variables declared as private in
Q3: The special reference _ is used to
Q4: Once a method is overridden in a
Q5: In Java subclass can only extend one
Q6: The original class that is used to
Q8: The derived class created using inheritace is
Q9: A _ class represents a generic concept
Q10: A child class is allowed to define
Q11: Which of the following key words indicates
Q12: To invoke a parents constructor in a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents