

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following PHP code?class Checkout {final function totalize(){// calculate bill} }class IllegalCheckout extends Checkout{final function totalize(){// change bill calculation}} |
A. | HP Fatal error: Class IllegalCheckout may not inherit from final class |
B. | alue of the bill calculated |
C. | HP Fatal error: Cannot find object |
D. | HP Fatal error: Cannot override final method |
Answer» E. | |