Categories
Java question
How to refer to a protected method if the class has a single private constructor?
Answer the question
In order to leave comments, you need to log in
From another class in the same package, you can.
No way. A class with a single private constructor cannot be inherited.
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question