A
Q. Suppose A is an abstract class ,B is a concrete subclass of A, and both A and B have an default constructor. Which of the following is correct? a) A a = new A(); b)A a = new B(); c) B b = new A(); d) B b = new B();
- Correct Answer - Option(B)
- Views: 15
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.