Question: Question 1 If A is the base class, B is the derived class, and the constructors for both classes are no-arg, which statement generates a
Question 1
If A is the base class, B is the derived class, and the constructors for both classes are no-arg, which statement generates a compiler error?
Question 1 options:
| A | B x = new A( ); |
| B | B x = new B( ); |
| C | A x = new A( ); |
| D | A x = new B( ); |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
