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 |
Tell me what is the actually used php version?
Tell me what are the encryption techniques in php?
How does php sessions work?
how many types of error in PHP.
How can we change the maximum size of the files to be uploaded?
What are the different tables present in mysql, which type of table is generated when we are creating a table in the following syntax: create table employee(eno int(2),ename varchar(10)) ?
Give the case where we can use get and we can use post methods?
Describe which programming language does php parallel to?
Extract url from this string? It should be flexible for all strings, not for this string only. "yahoo.comyahoo.co.inhotmail.org"
Is age interval or ordinal?
What are the php variables?
How do you compare strings in java?