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 a singleton factory?
Is it necessary for the port addresses to be unique? Explain with reason.
Is 9 a prime number?
Why volatile is used in java?
What is parse method?
What is scope & storage allocation of global and extern variables? Explain with an example
What is meant by bytecode?
What is the basic difference between string and stringbuffer object?
What is a qualifier in a sentence?
Write code to implement bubble sort in java?
What is void in java?
What will happen to the exception object after exception handling?
What kind of variables can a class consist?
What are static methods?
is it possible to instantiate the math class?