In ES6 – Which keyword is used for class inheritance?

18. In ES6 – Which keyword is used for class inheritance?

  1. extends
  2. extend
  3. inheritance
  4. inheritances

Answer: A) extends

Explanation:

In ES6 – The extends keyword is used for class inheritance.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.