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
Are generics important java?
Why does java not support operator overloading?
What is a programming object?
What is return code?
What is the importance of finally block in exception handling?
Tell me the latest versions in java related areas?
Is binary a low level language?
Can we declare array without size in java?
What is constructor and its types?
Why convert an applet to an application?
What are the advantages of autoboxing?
How many types of operators are there?
Why are pointers not secure?
What is difference between string and new string?
What is an infinite loop? How infinite loop is declared?