What is the purpose of using abstract classes?

The purpose of an abstract class is to provide a blueprint for derived classes and set some rules what the derived classes must implement when they inherit an abstract class . We can use an abstract class as a base class and all derived classes must implement abstract definitions.

Sizin İçin Seçtik  What is the difference between interface and abstract Java?

Leave a Reply

Your email address will not be published. Required fields are marked *