Sail E0 Webinar
Question
Which of the following is/are true for an abstract class?(i) A class is declared abstract by prefacing the definition with the word abstract.(ii) A class is declare abstract by using the keyword implements.(iii) It is a class that really isn't supposed to ever be instantiated but instead serves as a base class.(iv) Attempting to instantiate an abstract class results in an error.
Options:
A .  Only (ii)
B .  All of the mentioned
C .  (ii) and (iv)
Answer: Option A


Only (ii)



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers