Can we inherit the constructor in a Class?please give one
example.
Answer Posted / praseen
We can not inherit the constructor in a class. Becoz we can't
have same class name. The constructor hava the same name as
of the class name.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Is simpledateformat safe to use in the multithreaded program?
What is Classloader in Java?
Explain about interthread communication and how it takes place in java?
Explain about varargs in java?
What is the difference between == and === javascript?
What is final keyword in java?
State the difference between creating string as new () and literal.
What is the purpose of an interface?
Is ruby built on java?
What is array initialization in java?
why Java does not support multiple inheritances?
How does hashset works in java?
What is instance means in java?
What is the concept of multithreading?
Is main a keyword in java?