A Class Has Its Default Constructor Defined As Public Class B #250
A class has its default constructor defined as public. Class B inherits class A privately. The class ___________
This multiple choice question (MCQ) is related to the book/course gs gs111 OOP Object Oriented Programming Java. It can also be found in gs gs111 OOps Access Specifiers - OOPs MCQ: Public Access Specifier - Quiz No.1.
A class has its default constructor defined as public. Class B inherits class A privately. The class ___________
B will not be able to have instances
Only A can have instances
Only B can have instances
Both classes can have instances