Are multiple inheritances possible in java?

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).

============================================= ============================================== Buy best TechAlpine Books on Amazon
============================================== ---------------------------------------------------------------- electrician ct chestnutelectric
error

Enjoy this blog? Please spread the word :)

Follow by Email
LinkedIn
LinkedIn
Share