PHP MCQ Object Oriented Concept of PHP Question #2586
Single Choice Not Set

QWhich 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.

ID: #2586 Object Oriented Concept of PHP 2,768 views
Question Info
#2586Q ID
Not SetDifficulty
Object Oriented Concept of PHPTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Only (ii)
  • B All of the mentioned
  • C (ii) and (iv)
Correct Answer

Explanation

Only (ii)

Share This Question

Challenge a friend or share with your study group.