Q. Which keyword is used to inherit a class?

  • (A) extends
  • (B) implements
  • (C) inherits
  • (D) super
πŸ’¬ Discuss
βœ… Correct Answer: (A) extends
Explanation: JavaScript uses 'extends' to inherit from another class.
Explanation by: Mr. Dubey
JavaScript uses 'extends' to inherit from another class.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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