Tuesday, March 30, 2010

Java don't support multiple inheritance

multiple inheritance, ie. invalid class cat extends animal,feline,fourLegs

but you can still do
class cat extends animal implements feline, fourLegs

http://java.sys-con.com/node/37748
http://csis.pace.edu/~bergin/patterns/multipleinheritance.html

No comments: