A

Admin • 802.91K Points
Coach

Q. Which keyword is used to inherit a class in PHP?

  • (A) implement
  • (B) extend
  • (C) inherits
  • (D) extends
  • Correct Answer - Option(D)
  • Views: 6
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin
The 'extends' keyword is used for class inheritance in PHP.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.