why java don't have multiple inheritance code example
Example 1: why java don't support multiple inheritance
C++ and few other languages supports multiple
inheritance while java doesn’t support it.
Java doesn’t allow multiple inheritance
to avoid the ambiguity caused by it.
Example 2: multiple inheritance in java
Multiple inheritance is achieved and
implemented using interfaces