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
Do you know why doesn't the java library use a randomized version of quicksort?
What is the final method?
Can array grow dynamically in java?
Can we extend singleton class in java?
What is a java string?
Can we override the private methods?
What is the purpose of the file class in java programming?
If a method is declared as protected, where may the method be accessed?
Does list allow duplicates in java?
What are static blocks and static initalizers in java ?
What are locale settings?
What do heavy weight components mean in java programming?
Can we catch more than one exception in a single catch block?
What is a pointer and does java support pointers?
What is finally in Java?