Why are abstract classes used?

If we want to provide common, implemented functionality among all implementations of our component, use an abstract class. Abstract classes allow us to partially implement our class , whereas interfaces contain no implementation for any members.

Sizin İçin Seçtik  Which is better to use abstract class or interface in Java?

Leave a Reply

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