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 array in php?
Can you convert php to html?
What is the use of "echo" in php?
Can we use include ("xyz.php") two times in a php page "index.php"?
Tell me what is htaccess?
Which will check if a function exists?
How do I end a php session?
How to include a file code in different files in php?
What is use of in_array() function in php?
How many columns can be added in a table in mysql?
Explain mysql_error().
How do you define a constant?
What is use of echo in php?
What is the method to register a variable into a session?
How to assigning a new character in a string?