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 |
What are the two most common ways to start and finish a php block of code?
What is the apache?
Tell me how is the ternary conditional operator used in php?
what is the current salary package in India for a PHP & MySQL programmer who has 3 years experience
127 Answers ABC, BLG Logistics, Google, HCL, IBM, Infosys, People Group, PHP, Torque Infotech, V Angelz Technologies, Yahoo,
What do you use php for?
What is the difference between single-quoted and double-quoted strings in php?
What is stdclass in php?
How many Types of COmments are there in PHP and what are they?
What is php and what does it do?
Inside a php function, what param needs to be set in order to access a global variable?
How to install PHP with --mcrypt and --mhash?
What is the main difference between php 4 and php 5?