我一直在阅读“Effective Java”我并没有真正遵循以下论点。如果有人可以帮我清除这个
抽象类不能用于定义 mixins,原因与它们不能改装到现有类上的原因相同:
特别是“我不明白‘抽象类不能改装到现有类’”
你能举个例子吗?
http://books.google.se/books?id=ka2VUBqHiWkC&lpg=PA93&dq=Abstract%20classes%20cannot%20be%20used%20to%20define%20mixins%20for%20the%20same%20reason%20that%20they%20can't% _ 20be%20retrofitted%20onto%20existing%20classes&pg=PA93#v=onepage&q=Abstract%20classes%20cannot%20be%20used%20to%20define%20mixins%20for%20the%20same%20reason%20that%20they%20can't%20be% 20改造%20到%20现有%20类&f=false
谢谢