1.

Which of the following is/are true for an abstract class?

A. A class is declared abstract by prefacing the definition with the word abstract.
B. A class is declare abstract by using the keyword implements.
C. It is a class that really isn’t supposed to ever be instantiated but instead serves as a base class.
D. Attempting to instantiate an abstract class results in an error.
Answer» B. A class is declare abstract by using the keyword implements.


Discussion

No Comment Found