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
Explain importance of finally block in java?
Is java se free?
How many bytes is a string?
How does the java compiler work?
What are keywords and reserved words in java?
How do constructors use this() and super()?
How do you override a private method in java?
How to remove the trailing spaces from a string?
What is a java object and java application?
Can inner class final?
Can static methods access instance variables in java?
How many bytes is a unicode character?
what is mena by object block any what is the use of that
Can we execute a program without main?
What is meant by javabeans?