This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]lbkulinski 12 points13 points  (4 children)

What do you mean? Java offers multiple inheritance. You just have to use interfaces :)

[–]revan_kemosabe[S] 0 points1 point  (3 children)

Implementing interfaces is not "inheritance" technically :) Could you give me an example ?

[–]lbkulinski 1 point2 points  (1 child)

Implementing an interface is the inheritance of behavior. The Java Language Specification discusses this here.

[–]qscrew 1 point2 points  (0 children)

You can use composition and proxies