+ 1
Can you extend to multiple parent classes? In Java.
I am assuming you can only extend to one other class, is this correct?
4 Antworten
+ 7
In c++ you can..
Do you mean something like this?
class super: public base1, base2, ...
+ 4
Some languages supply multiple inheritance.
But for the most you are right.
+ 1
multiple inheritance Is not possible in java
we can use interface and implement two interfaces at a time
0
ya I guess I should have been more specific, I was wondering if you could do it with Java.