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
Explain the Propertie sof class?
What does nullpointerexception mean?
What is the difference between serializable and externalizable interfaces?
Compare overloading and overriding?
What is the difference between choice and list?
Does garbage collection occur in permanent generation space in jvm?
What is use of set in java?
What is lossy conversion in java?
What is scope & storage allocation of static, local and register variables? Explain with an example.
What is meant by memory leak?
What is namespace in java?
Which types of exceptions are caught at compile time?
What is synchronization and why is it important in java programming?
What is blank final variable?
what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread