Can u write constructor in abstract.If yes den when it will
be invoked.
Answer Posted / murli
yes..it will be invoked when the child class extending the abstract class is instantiated
| Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
Explain the different forms of polymorphism?
How to sort a collection of custom Objects in Java?
Describe how to implement singleton design pattern in struts.
What is constructor chaining and how is it achieved in java?
What is treemap in java?
What is the size of string?
What is the main purpose of java?
I want to print “hello” even before main is executed. How will you acheive that?
What are the various access specifiers in java?
what is singleton in java?
Can we cast any other type to boolean type with type casting?
State the merge-sort principle and its time complexity.
Is there any limitation of using inheritance?
What is use of super keyword?
What is oop principle in java?