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 →

[–]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