πŸ“Š Machine Learning
Q. The meaning for Augmenting classes is that
  • (A) objects inherit prototype properties even in dynamic state
  • (B) objects inherit prototype properties only in dynamic state
  • (C) objects inherit prototype properties in static state
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) objects inherit prototype properties even in dynamic state

Explanation: JavaScript’s prototype-based inheritance mechanism is dynamic: an object inherits properties from its prototype, even if the prototype changes after the object is created. This means that we can augment JavaScript classes simply by adding new methods to their prototype objects.

Explanation by: Mr. Dubey
JavaScript’s prototype-based inheritance mechanism is dynamic: an object inherits properties from its prototype, even if the prototype changes after the object is created. This means that we can augment JavaScript classes simply by adding new methods to their prototype objects.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
83
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
81%
Success Rate