| Author |
Regarding Inheritance
|
Saral Saxena
Ranch Hand
Joined: Apr 22, 2011
Posts: 202
|
|
Hi Folks,,
I was reading the section of inheritance and it advantages where I have discovered that....The second (and related) use of inheritance is to allow your classes to be accessed
polymorphically—a capability provided by interfaces as wel..please explain in terms of a short demo of coding ...what the functionality message he want to convey..!!
|
 |
Jeff Verdegan
Bartender
Joined: Jan 03, 2004
Posts: 5893
|
|
Saral Saxena wrote:Hi Folks,,
I was reading the section of inheritance and it advantages where I have discovered that....The second (and related) use of inheritance is to allow your classes to be accessed
polymorphically—a capability provided by interfaces as wel.
I would consider that the main purpose of inheritance.
.please explain in terms of a short demo of coding ...what the functionality message he want to convey..!!
I have a better idea. Instead of always asking people here to write sample code for you, how about you SearchFirst.(⇐click) I'm sure there are plenty of examples to be found on the web. Or better yet, spend some type studying up on interfaces and inheritance and polymorphism, think about what that might mean, write your own example, and post it here if you still have questions.
|
 |
 |
|
|
subject: Regarding Inheritance
|
|
|