Can you have a constructor in abstract class?

Answer Posted / naveen

a abstract class can contain abstract methods and concrete methods, to initiate and use these method we can create the object and also a constructor

Is This Answer Correct ?    7 Yes 27 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain the final method modifier?

749


Is null an object in java?

753


Why use string handling in Java?

765


When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?

770


What is difference between final and immutable?

750






What do you understand by soft reference?

784


Why java uses the concept of the string literal?

732


what is encapsulation in java? Explain

834


Why are constructors used?

726


What is the use of System class?

821


Explain the difference between the public, private, final, protected, and default modifiers?

762


What is parsing in java?

697


how to prepare for IT Officers Interview in Banks

1688


What is java reflection?

713


Explain parallel processing in java8?

866