Log in Register

Login to your account

Username
Password *
Remember Me

Create an account

Fields marked with an asterisk (*) are required.
Name
Username
Password *
Verify password *
Email *
Verify email *
Phone *
City
Country *
1.jpg

0


What is the meaning of a final class and a final method?


Submitted by Rod On Saturday, 05 September 2015.

Category: PHP Tags: PHP interview questions and answers for freshers


Question

What is the meaning of a final class and a final method?

1 Answers.
 

0


'final' is introduced in PHP5. Final class means that this class cannot be extended and a final method cannot be overrided.
Submitted by propayptoplen On Saturday, 05 September 2015
Answer :-
'final' is introduced in PHP5. Final class means that this class cannot be extended and a final method cannot be overrided.

1.jpg
Go to top