Can u write constructor in abstract.If yes den when it will
be invoked.
Answer Posted / srinu
yes Abstract class contain constructor. if it will be
invoked the abstract class extending the class .Then that be
invoked.
Ex:
HttpServlet class is abstract class it contain
constructor.it will be invoked the other class extending
HttpServlet it will be invoked.
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
Explain jvm, jre, and jdk?
What is difference between final and finally in java?
What are facelets templates?
What is the association?
How many types of assembly languages are there?
What is the ==?
Can we convert stringbuffer to string?
What is the use of jtable?
What is replacefirst in java?
What do you understand by casting in java language?
What is a file pointer?
How does java enable high performance?
Can java inner class be static?
What is the final variable?
What is number data type?