1. PHP Fatal error: Class IllegalCheckout may not inherit from final class
  2. Value of the bill calculated
  3. PHP Fatal error: Cannot find object
  4. PHP Fatal error: Cannot override final method
8 views

1 Answers

Answer: Option 4

A final class cannot be subclassed. Less drastically, a final method cannot be overridden.

8 views

Related Questions