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 is the difference between unset and unlink?
What is echo in html?
How to get a total number of elements used in the array?
Why does php need server?
How to set cookies?
How does php work with apache?
Which methods should be used for sending an email using the variables $to, $subject, and $body?
What are the advantages of triggers in php?
How can we upload a file in php?
How to remove all duplicate values in array in php?
What is the use of count() function in php?
Where php basically used?
What are psrs?
How stop the execution of a php scrip?
Is it possible to use com component in php?