Question: Suppose A is an abstract class, B is a concrete subclass of A , and both A and B have a no - arg constructor.
Suppose is an abstract class, is a concrete subclass of and both A and have a noarg constructor. Which of the following has errors either a compile error or a runtime error
new ;
newA;
new B;
new ;
new ;
anew B;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
