Explain the difference between classical inheritance and prototypal inheritance in JavaScript.
Instruction: Describe the two inheritance models and discuss how JavaScript implements prototypal inheritance.
Context: This question evaluates the candidate's understanding of JavaScript's object model and its differences from classical inheritance paradigms.
Updated
Official answer available
Read the opening below, then unlock the full answer and practical guidance.
Classical Inheritance: Traditionally, in languages like Java or C++, inheritance is classical...