Can we inherit the constructor in a Class?please give one
example.
Answer Posted / arvind patil
we cannot inherit the constructor.
But using the keyword super we can give a call
to the base class constructor
Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
Can we have 2 main methods in java class?
What is the difference between inheritance and encapsulation?
What are the files generated after using IDL to java compiler?
How many bytes is 255 characters?
Is null in java?
What is math in java?
Is there a jre for java 11?
What is type safety in java?
Explain wait(), notify() and notifyall() methods of object class ?
What are the access modifiers available in java?
How do you override a private method in java?
Can we create a constructor in abstract class?
What are sets in java?
What are the features of junit?
What is the abstraction?