MCQs > IT & Programming > LAMP > Abstract class BaseCls{ protected abstract function getName(); } class ChildCls extends BaseCls{ } Which implementation of getName() is invalid in ChildCls?

LAMP MCQs

Refer to the classes that are defined as follows:

abstract class BaseCls{
        protected abstract function getName();
}
class ChildCls extends BaseCls{
}

Which of the following implementations of getName() is invalid in ChildCls?

Answer

Correct Answer: private function getName(){}

Explanation:

Note: This Question is unanswered, help us to find answer for this one

LAMP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

LAMP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it