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
Write java program to reverse string without using api?
Define class?
what is the difference between future and callable interface in java?
What is a lambda expression ? What's its use ?
How do you override a method in java?
What is ‘is-a ‘ relationship in java?
How many functional interfaces does java 8 have?
What is the purpose of an interface?
What is the purpose of assert keyword used in jdk1.4.x?
What is difference between equal and == in java?
What do you mean by formatting?
Define max and min heap, also the search time of heap.
What is a treeset class?
What is the dot operator?
Can a class be private or protected in java?