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
When parseint method can be used?
What is functional interface in java?
what is the significance of listiterator in java?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?
Is empty in java?
What does exclamation mean in java?
Which language is java?
What is a map in java?
Why do we use predicate in java?
Does java have extension methods?
What are dot operator queries?
What is overloading and overriding in java?
can I implement my own start() method? : Java thread
Why vector class is used?
Explain the importance of finally over return statement?