How many types of inheritances used in php and how we achieve it.
Answer / Ranjna Jaiswal
PHP supports single inheritance, multiple inheritance (although it's not officially supported due to some complications), and interfaces. To achieve single inheritance, you can use the 'extends' keyword when creating a class. For interfaces, you create a new file with the '.php' extension and the word 'interface' followed by its name.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the ioncube php loader?
How to get the number of characters in a string?
How to download a php script directly in your script page?
3 Answers A1 Technology, Zmanda,
How can I check if a value is already in an array?
3 Answers Rushmore Consultancy,
List some string function name in php?
What is difference between mysql_connect and mysqli_connect?
What are php string functions?
Can age be a variable?
How to Retrieve video files in php from database.....and how to store video on database..
Where is session id stored?
What is the use of get and post method in php?
Is php dying 2018?