Can we inherit the constructor in a Class?please give one
example.
Answer Posted / praseen
We can not inherit the constructor in a class. Becoz we can't
have same class name. The constructor hava the same name as
of the class name.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is printwriter in java?
What is a method vs function?
Where pragma is used?
can rmi and corba based applications interact ?
What is * argv?
Is string a datatype?
What is data structure in java?
If goto and const is reserve words than why it is not work in java?
What is the difference between final, finally and finalize() in java?
What is local declaration?
Which class is used by server applications to obtain a port and listen for client requests?
What do you mean by inner class in java? Explain
How do you do math powers in java?
What is pre increment and post increment in java?
What is the difference between an array and an array list?