0 votes
in JAVA by
Among the following, which shows the Multiple inheritances?

(i) X,Y->Z

(ii) X->Y->Z

(iii) X->Y;X->Z

(iv) None of the above

1 Answer

0 votes
by

(i) X,Y->Z

Multiple Inheritance: Multiple Inheritance is a feature of C++ where a class can inherit from more than one classes. i.e one sub class is inherited from more than one base classes.

Related questions

0 votes
asked Oct 20, 2020 in JAVA by sharadyadav1986
0 votes
asked Jan 24, 2021 in JAVA by rajeshsharma
...