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
What are the two types of streams offered by java 8?
What do you know about java?
What are the restrictions that are applied to the java static methods?
What are the various access specifiers for java classes?
What is variable length arguments in java?
What is the purpose of object oriented programming?
What is passing by reference in java?
Can we have multiple classes in single file ?
What is final int?
Write a program in java to find the maximum and minimum value node from a circular linked list.
What is the maximum size of array in java?
Where are global variables stored?
What are the ways to instantiate the class class?
java Technical questions asked by JPMC
What is the difference between abstraction and encapsulation?