Can a class inherit the constructors of its superclass?
Answer Posted / patil abhijeet
No, We cant inherit the constructor. Using super we can call
the constructor but we cannot modify the working of it.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Can we override data members in java?
what is the difference between yielding and sleeping? : Java thread
What is busy spin, and why should you use it?
How many static init can you have?
Explain the usage of this with constructors?
What are void pointers?
Can a class have multiple superclasses?
Difference between abstract and concrete class ?
What are loops in java?
What is the reason behind using constructors and destructors?
What is a static class in java?
What is the difference between superclass and subclass?
What are functions in java?
What is an array in java?
How can we achieve thread safety in java?