Wednesday, August 30, 2006

Why java does not have multiple inheritance?
but in c++ ?

Java supports the multiple inheritance but only in interfaces. It means you can implements more than one interfaces but you can't extends more than one classes. So we can't say that Java doesn't support multiple inheritance.