Can we inherit the constructor in a Class?please give one
example.
Answer Posted / sanketh
we cannot inherit constructors.
because if we declare a constructor it must be a same name
as its class name, but two class must have same name
| Is This Answer Correct ? | 16 Yes | 4 No |
Post New Answer View All Answers
Can constructor be inherited?
How does linkedhashmap work in java?
How many bits is a char?
What is the file extension for java?
Can singleton class be cloned?
What is oops in java?
Explain the difference between a Thread and a Process.
What are the different types of inheritance in java?
What is continuity of a function?
Why java is said to be pass-by-value ?
Java is pass by value or pass by reference? Explain
java Technical questions asked by JPMC
Explain the different forms of polymorphism?
What do you understand by a Static Variable?
What is time complexity algorithm?