Computer Science, asked by kushboo55, 11 months ago

What is an abstract class? tell me fast

Answers

Answered by Anonymous
1

A class which contains the abstract keyword in a declaration is called abstract class. The properties of the abstract class are as follows:-

Abstract classes may or may not contain abstract methods but, if a class has at least one abstract method, then it must be declared abstract.

The abstract class cannot be instantiated.

To use an abstract class, we have to inherit it from another class.

If we inherit an abstract class, then we have to provide implementations to all the abstract methods in it.

Answered by astha83
1

Hey mate here is ur ans :-

A class which contains the abstract keyword in its declaration is known as abstract class. 

Similar questions