A: No, multiple inheritance is not possible in java. Interface has been introduced to serve the purpose and it has been derived from Objective C.The reasons for omitting multiple inheritances from the Java language mostly stem from the ‘simple, object oriented and familiar’ goal. As a simple language Java creators wanted a language that most developers could grasp without extensive training. To that end, they worked to make the language as similar to C++ as possible (familiar) without carrying over C++ unnecessary complexity (simple).
- How memory is managed in java?
- How to create UML diagram from existing java application (reverse engineering)?