0 votes
in C Plus Plus by

What is an abstract class?

a) a class that has direct instances, but whose descendants may have direct instances.

b) a class that has direct instances, but whose descendants may not have direct instances.

c) a class that has no direct instances, but whose descendants may have direct instances.

2 Answers

0 votes
by

c) a class that has no direct instances, but whose descendants may have direct instances.

0 votes
by

An abstract class in Java is a class that cannot be instantiated. It is meant to be subclassed, and it provides a common interface for its subclasses. Abstract classes can contain abstract methods, which are methods with no implementation.

Related questions

+2 votes
asked Jun 19, 2019 in C Plus Plus by anonymous
+1 vote
asked May 14, 2019 in C Plus Plus by anonymous
0 votes
asked Jan 24, 2021 in JAVA by rajeshsharma
+1 vote
+2 votes
asked Jun 25, 2019 in Dot Net by Venkatshastri
...