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, berorientasikan objek dan biasa,,en,Matlamat,,en,Sebagai bahasa yang mudah pencipta Java mahu bahasa yang kebanyakan pemaju dapat memahaminya tanpa latihan yang meluas,,en,Untuk itu,,en,mereka bekerja untuk menjadikan bahasa sebagai sama dengan C yang mungkin,,en,biasa,,en,tanpa membawa lebih C kerumitan yang tidak perlu,,en,mudah,,en,pelbagai warisan mungkin dalam java,,en’ 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).
Are multiple inheritances possible in java?
- How memory is managed in java?
- How to create UML diagram from existing java application (reverse engineering)?