Choose inherence or interface to implement design pattern in Java?

Posted by Summer_More_More_Tea on Stack Overflow See other posts from Stack Overflow or by Summer_More_More_Tea
Published on 2010-06-09T13:59:54Z Indexed on 2010/06/09 14:12 UTC
Read the original article Hit count: 108

Filed under:
|

Hi there:

I just want to inject some design patterns into my Java code, but I don't know which style to use -- is inherence or interface preferred? And why?

Thanks!

Kind regards!

© Stack Overflow or respective owner

Related posts about java

Related posts about design-patterns