aspose file tools*
The moose likes Java in General and the fly likes Regarding Inheritance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Regarding Inheritance" Watch "Regarding Inheritance" New topic
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: 6109
    
    6

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding Inheritance