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


Please Help Members By Posting Answers For Below Questions

What is a singleton factory?

498


Is it necessary for the port addresses to be unique? Explain with reason.

559


Is 9 a prime number?

455


Why volatile is used in java?

517


What is parse method?

521






What is scope & storage allocation of global and extern variables? Explain with an example

568


What is meant by bytecode?

565


What is the basic difference between string and stringbuffer object?

567


What is a qualifier in a sentence?

515


Write code to implement bubble sort in java?

545


What is void in java?

573


What will happen to the exception object after exception handling?

557


What kind of variables can a class consist?

575


What are static methods?

564


is it possible to instantiate the math class?

513