Can you have a constructor in abstract class?
Answer Posted / dileep
Yes you can have a constructor in abstract class but you
should not instansiated directly you have to write one
subclass extends the abstract class.
Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
What are the methods of object class ?
What is the difference between an argument and a parameter?
what is the constructor and how many types of constructors are used in java?
What is the use of predicate in java 8?
Can constructor be static or final?
What is variable in java?
Is arraylist dynamic in java?
How many wrapper classes are there in java?
How do you create a sop?
What are thread safe functions?
What does I ++ mean?
How will you print number in reverse (descending) order in BST.
How do weakhashmap works?
What is tree in java?
What is the parse method in java?