Answer Posted / satyajit das
abstract class is one where the class parameters are not
defined properly and it is controlled by interface like:
interface gggg{
function ss();
}
interface lll{
function mmm();
}
class boat implements gggg,lll{
public function ss();
public function mmm();
}
$dd = new boat();
It is used due to non presence of multiple inheritance in
PHP.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are the functions used in php?
What are the different types of array in php?
How do we get the current session id?
When to use inquire vs enquire?
What is the difference between client-side and server-side programming?
Can I learn laravel without php?
Why triggers are used in mysql?
What is properties of class?
Explain what is memcache?
What is csrf token in php?
What is the difference between $argv and $argc? Give example?
Tell me what is the use of the function htmlentities?
Write a program to get lcm of two numbers using php?
How to find length of an array in php ?
Define object-oriented methodology?