Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What Is The Difference Between Abstract Class And Abstract Method?

0
Posted

What Is The Difference Between Abstract Class And Abstract Method?

0

Abstract Class:Abstract class is a class that has no direct instances, but whose descendants may have direct instances. There are case i which it is useful to define classes for which the programmer never intends to instantiate any objects; because such classes normally are used as base-classes in inheritance hierarchies, we call such classes abstract classes These classes cannot be used to instantiate objects; because abstract classes are incomplete. Derived classes called concrete classesmust define the missing pieces. Abstract Method:An abstract class can have instance data and non-abstract methods -including constructors-. ARUN KUMAR….

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123