Results 1 to 4 of 4

Thread: Polymorphism

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2005
    Posts
    167

    Question Polymorphism

    I created two classes and each class has the same print metho without using Inheritance or Interface. Is it called Polymorphism or not? Why?

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: Polymorphism

    See the other thread. The answer is no, but I'm not telling you why just because you're too lazy to open your text book and look up the definition of polymorphism.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2005
    Posts
    167

    Re: Polymorphism

    I am not lazy. I read my text book about OOP many times, but I still don't understand clearly about Polymorphism and Interface, so I want my problems to be solved in the forum. I don't know why you said like that.

  4. #4
    New Member Santa Clause's Avatar
    Join Date
    Dec 2003
    Location
    North Pole. Lapland when I visit my Wife.
    Posts
    10

    Re: Polymorphism

    What do you know about polymorphism so far? Having read up about it, you must have learnt something. If not, maybe you should quit learning Java and become one of Santa's little helpers instead
    I am the real Santa Clause

Posting Permissions

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



Click Here to Expand Forum to Full Width