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 does percent mean in java?
What is pangram in java?
Is java se open source?
What is member in java?
what do you mean by stream pipelining in java 8? Explain
What is immutable in java?
What are the different conditional statements?
Give the difference between the println method and sqrt method?
What are filterstreams?
What is a vararg?
How do you find the maximum number from an array without comparing and sorting?
What are static variables and functions?
What are the different types of multitasking?
What is skeleton and stub? What is the purpose of those?
How to obtain a performance profile of java program