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
Is singleton class thread safe?
What are the two types of java programming?
Which sorting algorithm is in place?
What are the types of java languages?
What is scope & storage allocation of static, local and register variables? Explain with an example.
What is difference between path and classpath?
How can you generate random numbers in java?
What is a substitution variable?
How do you clear a list in java?
What is the purpose of the finalize() method?
What is meant by data hiding/encapsulation?
What is size_t?
What are class types in java?
What is the super void?
When do we use hashset over treeset?