Java does not support multiple inheritance. code example
Example: 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.