TheUninvited
Active Coder
I kinda know now what is a polymorphism but i dont have the thought on how to use it ? Like where?
what i mean is like for example:
if i want to check something i know that we use "If statement"
If i want to increment something time to time i know i should use a"for loop"
and that's where i am asking. I know some examples such as :
if you had an animal, a dog,cat could inherit from the animal and do something et.c
Like the concept i understand but the thought is what i am missing.
what i mean is like for example:
if i want to check something i know that we use "If statement"
If i want to increment something time to time i know i should use a"for loop"
and that's where i am asking. I know some examples such as :
if you had an animal, a dog,cat could inherit from the animal and do something et.c
Like the concept i understand but the thought is what i am missing.