What is concrete and abstract class?

An abstract class is a class declared with an abstract keyword which is a collection of abstract and non-abstract methods while a concrete class is a class that allows creating an instance or an object using the new keyword. Thus, this is the main difference between abstract class and concrete class.

Sizin İçin Seçtik  What is default implementation of interface in Java?

Leave a Reply

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