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.
...
Type: Posts; User: speedycerv
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.
...
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...
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...