Which is a perfect example of runtime polymorphism?
Answer / Prakash Jangpangi
A perfect example of runtime polymorphism in PHP could be method overriding. For instance, consider a Parent class with a method 'eat()', and Child1 and Child2 classes that extend the Parent class and each override the 'eat()' method to represent specific animal behaviors.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the features and advantages of object-oriented programming?
hi..this is kumar...how m,uch time req for php preparation?is any coaching avaiable in vizag for php?
What is the use of header() function in PHP? What the Limitation of HEADER()?
What is full form of php? Who is the father or inventor of php?
Apart from mail() function to send emails,is there any other functions in PHP to send emails?
I am a 2007 Passed out, Jobless for almost 2.6 years. I am preparing myself as a Php programmer. Will i get a job in Php and can any one guide me please.
What are hooks in php?
What is php crud api?
How does csrf token work?
How many ways we can give the output to a browser?
Is php secure?
How to pass an argument to a function?