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
Is empty list java?
How many classes can any class inherit java?
How do you declare a string variable?
Can we declare main () method as non static?
What is a JAR file?
Do we need to manually write Copy Constructor?
Why are getters and setters used?
How does sublist works in java?
What is OOP Language?
What is the function of compareto in java?
What is a Transient Object?
What is null statement?
What is overriding in java?
Where are the card layouts used?
Write a program to find maximum and minimum number in array?