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
What is the difference between a break statement and a continue statement?
What is public static void main?
What are controls and their different types in awt?
What variables are stored in stack?
What is the difference between size and length in java?
What is the arraylist in java?
What is the best definition for data?
What are encapsulation, inheritance and polymorphism?
why java does not support unsigned keyword?
What is split return?
how to run ecllipse with jettyserver for windows environment using batch file
How does a cookie work in Servlets?
Difference between nested and inner classes ?
Explain wait() method of object class ?
What are voids?