Answer Posted / gokilavani s
Encapsulation is fundamental concepts in object oriented programming
Encapsulation provides three main benifits
Data hiding
Code organization
Code reusability
Php using access modifiers public, protected, private control access to the modified and properties
Public- accessible from anywhere
Protected - accessible within class and subclass
Private - accessible only in the class itself
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is escaping to php?
Tell me what does the php error 'parse error in php - unexpected t_variable at line x' means?
What is the default time in seconds for which session data is considered valid?
Which function will you use to create an array?
How to call a php function from another php file?
Tell us why did you choose this particular career path?
What is file upload?
Does PHP 5 support exceptions? State Whether True or False?
How to include a file to a PHP page?
How you can update memcached when you make changes to php?
Is php closing tag necessary?
What is php session start?
What are the advantages of php mysql?
What are the environmental variables?
Where do I run php code?