Can we inherit the constructor in a Class?please give one
example.
Answer Posted / r.jainrocks@gmail.com
we can't inherit constructors because constructors are not the members of a class.
as in case of blocks.
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
Why does abstract class have constructor?
What is the java virtual machine?
What is module in oop?
What is the purpose of the enableevents() method?
Explain the difference between arraylist and linkedlist in java?
What is empty list in java?
What are meta-annotations?
What is the purpose of final keyword and when to use it?
What will happen if a thrown exception is not handled?
Can we create a class inside a class in java?
worst case complexities of Quick sort and Merge sort.
What are the two parts of a conditional statement?
What is an immutable class?
What is nullpointerexception?
What is floor math?