Remember
Register
1
new
Chill
new
Puzzles
new
GK
new
Sports
new
Business
Home
Questions
MCQs
Unanswered
Tags
Users
Ask a Question
Write Article
Articles
Connect to us
Is it possible to create private constructor in java? if yes then How to access that constructor from sub class?
+3
votes
349
views
Is it possible to create private constructor in java? if yes then How to access that constructor from sub class?
java
posted
Sep 28, 2015
by
anonymous
Looking for an answer? Promote on:
Your comment on this post:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Preview
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Similar Questions
0
votes
Java: Can we declare constructor as a private? If yes then what is use of private Constructor?
+1
vote
Is it possible to set the stack size of java runtime? if yes then how to do it?
+1
vote
Is it possible to have Virtual Constructor in C++? If yes, how? If not, then why not?
+3
votes
Can we override constructor in Java? If yes then how, if no then why?
+1
vote
In Java, are constructors inherited? Can a subclass call the parent's class constructor? If yes, when?
...