What is an abstract class in java?

DWQA QuestionsCategory: QuestionsWhat is an abstract class in java?
Editor Staff asked 3 weeks ago

What is an abstract class in java?

1 Answers
Editor Staff answered 3 weeks ago

A class that is declared using the “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.