What is interface? Why it is used?
Answer / Ashish Kumar Tripathi
In PHP, an interface is a collection of abstract methods. An interface defines a contract that a class must implement to be considered a valid implementation of the interface.nInterfaces are used to enforce a consistent programming model across multiple classes and promote loose coupling between objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
Which variable declarations within a class is invalid in php?
What is scope of variable in php?
Does browser understand php?
Can you specify the "new line" character in single-quoted strings?
What is the difference between using copy() and move() function in PHP file uploading?
how to retrieve from database..... this format (PRMRMDU402). firstname= prabhu, lastname=kumar, city=madurai, pincode=624402.... i want first name first two letters and last name last two letters ... city first two letters ... pin code last three letters....
Specify pre-defined classes in php ?
What are the data types in php?
What is session and Cokkies . How it works . tell some thing about Session_id()
1 Answers DVS, Net Solution, PVWEBCO,
What is php destruct?
Under what circumstance is it impossible to assign a default value to a parameter while declaring a function?
Do I need to install php after xampp?