What is abstract class in Java with example?

A class that is declared using “abstract” keyword is known as abstract class. It can have abstract methods(methods without body) as well as concrete methods (regular methods with body). A normal class(non-abstract class) cannot have abstract methods.

Sizin İçin Seçtik  Is Java object class final?

Leave a Reply

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

What is abstract class in Java with example?

A class that is declared using “abstract” keyword is known as abstract class. It can have abstract methods(methods without body) as well as concrete methods (regular methods with body). A normal class(non-abstract class) cannot have abstract methods.

Sizin İçin Seçtik  Ca kaç A grubu?

Leave a Reply

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