?
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?
Competitive Exams MCQs
Aptitude
English
Verbal Reasoning
Non Verbal Reasoning
General Knowledge(GK)
General Science(GS)
Data Interpretation(DI)
Banking Awareness
Current Affairs
Computer Fundatmental MCQs
Computer Fundamentals
Microsoft Word
Microsoft Excel
MS Power Point
Tally
Operating System
Python
AI(Artificial Intelligence)
Join the Discussion
Login to post a comment or share your explanation.
Login2 & 4 are correct because B is concrete class and its object is created and in Option 2, reference of class A(abstract class) can be used to hold its child class's object.