Can you have a constructor in abstract class?
Answer Posted / neelamadhab mallick
A Abstract class never can be instanciate. if a concrete
method present inside the abstract class with the return
type of the same class, then it is possible to create the
object, but constructor will not called.
| Is This Answer Correct ? | 11 Yes | 22 No |
Post New Answer View All Answers
What is google full form?
What do you understand by a Static Variable?
When is an object subject to garbage collection?
what is session in java?
What is parseint?
If a class is declared without any access modifiers, where may the class be accessed in java programming?
What is the use of static methods?
What are the advantages of inner classes?
What is the properties class?
What are class types in java?
What are the features of java?
Explain the difference between private, public, package and protected in java?
What are the methods available in a class?
What is the purpose of the return statement?
What is final method in java?