What is abstract class with real time example?

A concrete example of an abstract class would be a class called Animal . You see many animals in real life, but there are only kinds of animals. That is, you never look at something purple and furry and say “that is an animal and there is no more specific way of defining it”.

Sizin İçin Seçtik  What is the difference between an inner class and a subclass in Java?

Leave a Reply

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