Can we inherit the constructor in a Class?please give one
example.
Answer Posted / r.jainrocks@gmail.com
we can't inherit constructors because constructors are not the members of a class.
as in case of blocks.
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
Can anonymous class have constructor?
What does %4d mean in java?
What is subsequence of a string?
What is the common usage of serialization? What exceptions occur during serialization?
Should a main method be compulsorily declared in all java classes?
What are the actions that can occur when a thread enters blocked state?
Name few java.lang classes introduced with java 8 ?
Do you know why doesn't the java library use a randomized version of quicksort?
What modifiers may be used with a top-level class?
What are new features introduced with java 8 ?
What does this () mean in java?
what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread
What is the difference between the final method and abstract method?
Which package is imported by default?
Define "Access specifiers" in java.