What Is True About Protected Constructor #197
What is true about protected constructor?
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java Classes Methods - Java Constructors - Quiz No.1.
What is true about protected constructor?
Protected constructor can be called directly
Protected constructor can only be called using super()
Protected constructor can be used outside package
protected constructor can be instantiated even if child is in a different package