Can you have a constructor in abstract class?
Answer Posted / sumit
But you can create constructor in an abstract class.
and whenever you careate object of class implementing
abstarct class, constructor of te abstract class runs.
Is This Answer Correct ? | 108 Yes | 13 No |
Post New Answer View All Answers
What is OOP Language?
Explain the difference between private, public, package and protected in java?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
What is string data?
What are the benefits of java?
What are the advantages of java over C++?
What are green threads in java?
What restrictions are placed on method overriding in java programming?
When throws keyword is used?
can rmi and corba based applications interact ?
List down the methods and interfaces of collection class in java.
What is linked hashset and its features?
Explain differences between collection api and stream api?
Define max and min heap, also the search time of heap.
Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls