Search:

Type: Posts; User: speedycerv

Search: Search took 0.31 seconds.

  1. Replies
    1
    Views
    570

    subclass that implements

    I have a problem where i have to add 2 interfaces into class hierarchy of 1 main class.

    it reads: Simulate multiple inheritance by adding at least two
    interfaces into your class hierarchy.
    ...
  2. Replies
    3
    Views
    710

    Re: Polymorphism test

    I've never used the instanceOf operator before could you show me what code I would need to use to make this work? I tried cameraList[0] instanceOf Camcorder; but it doesn't work, I'm sure I'm using...
  3. Replies
    3
    Views
    710

    Polymorphism test

    I have a program i'm trying to write that is showing polymorphism and it isn't working as expected. I expect the output to have an extra line that will have the information that is unique to the...
Results 1 to 3 of 3