Can we inherit the constructor in a Class?please give one
example.
Answer Posted / arvind patil
we cannot inherit the constructor.
But using the keyword super we can give a call
to the base class constructor
Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What are the advantages of assembly language?
What is string data?
What is remote method invocation (rmi)?
What happens to a static var that is defined within a method of a class?
What do you understand by garbage collection in Java? Can it be forced to run?
What are wrapped classes in java programming?
How to read and write image from a file ?
Can we initialize the final blank variable?
Which is bigger float or double java?
What are the different types of garbage collectors in java?
How do you sort a list in java?
How many days will it take to learn java?
What does the ‘static’ keyword mean? Is it possible to override private or static method in java?
Can variables be used in java without initialization?
Compare java and python.