Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2007
    Posts
    6
    Rep Power
    0

    Default Relation between Polymorphism and Inheritance

    Hi,

    Can anyone explain me what is the relation between Polymorphism and Inheritance?

    One i know that is Overriding other than tht i need.

    thanks
    janki

  2. #2
    CaptainMorgan's Avatar
    CaptainMorgan is offline Moderator
    Join Date
    Dec 2007
    Location
    NewEngland, US
    Posts
    835
    Rep Power
    8

    Default

    Inheritance is the concept that subclasses inherit features from the superclass. And polymorphism is basically overriding a feature of the superclass that was inherited for subclass customization. From this, you might be able to see the "relation" that you inquired about. If not, definitely see here for more information on the topic.

Similar Threads

  1. what is polymorphism
    By Nari in forum New To Java
    Replies: 5
    Last Post: 04-04-2008, 03:14 AM
  2. Inheritance
    By mew in forum New To Java
    Replies: 1
    Last Post: 12-07-2007, 06:08 PM
  3. what's polymorphism?
    By christina in forum New To Java
    Replies: 2
    Last Post: 08-05-2007, 10:29 PM
  4. Inheritance in GUI
    By Marty in forum SWT / JFace
    Replies: 2
    Last Post: 05-11-2007, 12:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •