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 |
How to copy a file?
Why delimiter is used in mysql?
Explain Type hinting in PHP?
How can I make a script that can be bilanguage (supports English, German)?
what is the current salary package in India for a PHP & MySQL programmer who has 3 years experience
127 Answers ABC, BLG Logistics, Google, HCL, IBM, Infosys, People Group, PHP, Torque Infotech, V Angelz Technologies, Yahoo,
How to submit form without a submit button.
Which methods should be used for sending an email using the variables $to, $subject, and $body?
How to set cookies?
what is the abbrevation of PHP?
What is the maximum size of a database in mysql?
What is inheritance in php? How many types of inheritance supports php?
how to detect a mobile device using php