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
What is the purpose of abstract class?
How do you insert a line break?
What is the disadvantage of synchronization?
Explain super keyword in java.
Where are the local variables stored?
What is a boolean field?
What is a local class in java?
Can an anonymous class be declared as implementing an interface and extending a class in java programming?
How do singleton patterns work?
What is set string?
If system.exit (0); is written at the end of the try block, will the finally block still execute?
How do you define a set in java?
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
What is the purpose of sizeof operator?
Explain about member inner classes?