Menu
Question Index
...

Suppose A is an abstract class, B is a concrete subclass of A, and both A and B have a default constructor. Which of the following is correct?


A a = new A();
A a = new B();
B b = new B();
Both B & C
Both A & C

Doubts

Problems

Topic: Java Abstract Class

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App