MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following is/are true for an abstract class?1. A class is declared abstract by prefacing the definition with the word abstract.2. A class is declare abstract by using the keyword implements.3. It is a class that really isn’t supposed to ever be instantiated but instead serves as a base class.4. Attempting to instantiate an abstract class results in an error. |
| A. | nly 2 |
| B. | ll of the mentioned |
| C. | and 4 |
| D. | , 3 and 4 |
| Answer» B. ll of the mentioned | |