0

Java support multipul inhertance yes are no

12th Aug 2017, 5:19 PM
naveen888 marripelli
naveen888 marripelli - avatar
2 ответов
+ 3
java doesn't support multiple inheritance. because suppose c is the child class extending from both parent class a and parent class b with some methods defined in them. Then child class cannot understand which class method to call. so there is a confusion here which leads to ambiguity and leads to compile time error.This is the reason java doesnot support multiple inheritance
12th Aug 2017, 7:00 PM
P∆WAN M∆URY∆
P∆WAN M∆URY∆ - avatar
+ 2
No
12th Aug 2017, 5:23 PM
An0ther
An0ther - avatar