Vidyalelo
Java Programming · Q113

Constructors and Methods

Programming · Java Programming · question 113

Q113

What is true about protected constructor?

A.
Protected constructor can be called directly
B.
Protected constructor can only be called using super()
Answer
C.
Protected constructor can be used outside package
D.
protected constructor can be instantiated even if child is in a different package

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board