Is it possible to have abstract class without any concrete methods

Showing Answers 1 - 9 of 9 Answers

vikram_gram

  • Nov 16th, 2006
 

Yes. It is possible to have an abstract class without concrete methods.An abstract class may or may not contain concrete methods.Either of the situations are possible.But every abstract class must have at least one abstract method. (In other words, we can state like this. Every class containing one or more abstract methods must be declared as an abstract class).

  Was this answer useful?  Yes

rajeswari

  • Nov 30th, 2006
 

your statement is almost correct but..every abstract class need not contain abstract methods..means if one class does n't contain any abstract methods then also we can declare class as abstract..but if the class contains any abstract method then that class should be declare as abstract.

  Was this answer useful?  Yes

Radhakrishna

  • Dec 7th, 2006
 

yes,its possible.We can write an abstract class without any concrete methods,There is no restriction that the abstract class contains minimum of one abstract method.Eventhough without any abstract method we can write the abstract class.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions