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
Difference between this() and super() in java ?
Explain 5 io best practices?
How do you make an arraylist empty in java?
What is a stack class in java ?
Explain implementation and how is it different from conversion?
What happens when I use / and % with a negative numerator?
What is the purpose of nested class in java?
What is default switch case? Give example.
What language is java written?
What is io stream in java?
Which list does not allow duplicates in java?
Define interface in java?
What is unicode full form?
What is the name of the java compiler?
How is a variable stored in memory?