Polymorphism


Posted on 16th Feb 2014 07:03 pm by admin

Was wondering if someone could explain this a little better to me. I had always assumed that it had to do with method overloading or overriding(through inheritence).

The following wikipedia entry seems to indicate otherwise though:

http://en.wikipedia.org/wiki/Polymorphism_in_object-oriented_programming

"Polymorphism is not the same as method overloading or method overriding. [1] Polymorphism is only concerned with the application of specific implementations to an interface or a more generic base class. Method overloading refers to methods that have the same name but different signatures inside the same class. Method overriding is where a subclass replaces the implementation of one or more of its parent's methods. Neither method overloading nor method overriding are by themselves implementations of polymorphism"

66 Like 20 Dislike
Previous php-forum Next php-forum
Other php-forum

registration form
first time posting. did some searches but didnt find exactly what i am looking for. dont flame cause

Preg_match unknown modifyer
Hello,

Im trying to write a little script for my forums i need to get the reply from my forum

PHP friend keyword equivalent
is there a PHP equivalent for the C++ friend keyword?

PHP onsubmit in the form not going to the fuction.
I have a form through ‘onsubmit’ calling a function validation(). But not going to the

Image resize
Hi again fellers

I managed to sort out the issues with the folder,

Final hurdle is th

Save remote XML to local website folder
Hi, I hope you can help me out. I would like to be able to pull an XML file from another site and t

'grab_files', multiple extension?
hey guys,

can anyone suggest a way to make to following line of code look for files with more

delete comma
HI,

How to delete "," at the end of the string.
Code: $match = 2009/02/03/a2corr

mysql select with $_get ?
Hi, i have this code:
Code: // If char id is 0 and character dont exist do:
if ($_GET["id

SQL Query/echo not working
Hey all,

I'm trying to run (what I thought) was a simple operation and it isn't working. I h

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash