can abstract class have constructor how can you achive
this ?

Answer Posted / rajasekharreddy.y

Yes abstract class must have the constructor, these
constructor we can achive by creating the instance of the
concreate subclass of the abstract class.

Is This Answer Correct ?    14 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is array passed by reference in java?

816


How can we run a java program without making any object?

786


What do you mean by access modifier?

800


When to use runnable interface vs thread class in java?

767


Is there any way to skip finally block of exception even if some exception occurs in the exception block?

855


What is integer size in java?

721


Explain wait(), notify() and notifyall() methods of object class ?

833


What if static is removed from main method?

806


How many types of flags are there?

747


What is a boolean flag in java?

781


Can we print null in java?

799


Which collections are thread safe in java?

715


What is java life cycle?

771


Are arrays classes in java?

753


Is double bigger than float?

761