What is encapsulation in oop php?
Answer / 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 |
Is nan in javascript?
What is a comment in php?
Why overriding is called runtime polymorphism?
explain the changes in php version
What is encapsulation in php?
Can I run php without xampp?
hi, i have knowledge about PHP/MYSQL,i am fresher of M.Sc-IT 2009 pass out,any recruitment in PHP please let me know.my email id:nathiyasms@gmail.com
How can we change the value of a constant?
What is foreach loop in php?
What is input sanitization in php?
Explain Traits in PHP?
Who is the father of php?