What type of inheritance that PHP supports?
Answers were Sorted based on User's Feedback
Answer / amit sharma
PHP can support single,multilevel,hierarchical and hybrid
inheritance but not Multiple inheritence. And you can
use interfaces to achive multiple inheritace .there is not
any difference just use the keyword Interfaces.
| Is This Answer Correct ? | 4 Yes | 5 No |
Answer / deepak kashyap
Php support three types of inheritance
1.single level
2.multilevel
3.hierarchical
4.multiple(by using interface)
| Is This Answer Correct ? | 2 Yes | 3 No |
Answer / jayan
The reasons why multiple inheritance is not supported in php
are explained in the following page :
http://questionfriends.com/questions/508f39c9d2fa7/multiple-inheritance-not-supported-php
| Is This Answer Correct ? | 0 Yes | 1 No |
How to display your correct URL of the current web page?
Which MySQL function would you use to select a database?
What is a lambda function in php?
How will you create a mysql database using php ?
What is register_globals in php?
6 Answers Castling IT, HCL, Intel Soft Solutions, Millennium,
What do the initials of php stand for?
What are the difference between abstract class and interface in oops?
What is strcmp?
How can I retrieve values from one database server and store them in other database server using PHP?
why we used type-pool SLIS in ALVs? how many types of windows in scripts?
What is htaccess?
How to initiate a session in php?