What is an abstract class, and why might it be useful in an inheritance hierarchy?
What will be an ideal response?
An abstract class is a class represents a partially defined concept in an inheritance hierarchy. Abstract
methods cannot be instantiated, but they can be extended. They are often useful because several classes may include common
functionality but may lack a fully defined parent concept. Abstract classes allow a programmer to implement the partially
defined parent concept as an abstract class which will include the common functionality of the child classes. An example of an
abstract concept in an inheritance hierarchy might be a Vehicle. Subclasses like Car, Boat and Airplane are more fully
defined, but they share common states and behaviors.
You might also like to view...
A function key or key combination, such as F5 or CTRL + r that is used to carry out a menu command is called a:
A) dongle. B) shortcut key. C) macro. D) click key.
How can you edit the contents of a symbol instance without editing other
symbol instances of the same symbol on the artboard? What will be an ideal response?