MCQs > IT & Programming > Prototype Programming > Which code snippet is the proper way to define a class that inherits another class?

Prototype Programming MCQs

Which of the following code snippets is the proper way to define a class that inherits another class?

Answer

Correct Answer: var Dog = Class.create(Animal, {});

Explanation:

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

Prototype Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Prototype Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it