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 php programming used for?
Tell me what is the use of "ksort" in php?
Tell me how the result set of mysql be handled in php?
How to create a session? How to set a value in session?
Describe the security vulnerability of PHP?
What is php's mysqli extension?
What is htaccess? Why do we use this and where?
How to send a cookie to the browser?
When are you supposed to use endif to end the conditional statement?
How can we automatically escape incoming data?
What is the function to count elements in an array in PHP?
What are the different types of php variables?
Explain converting an object?
Tell me what does pear stands for?
How does php serialize work?