what are the limitations in inheritance? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

what are the limitations in inheritance?

5th Aug 2016, 9:29 PM
yasir
yasir - avatar
4 Answers
+ 3
Inheritance generally cannot be circular. As in a sub class cannot also be a super class of its parent class as well.
7th Aug 2016, 1:53 AM
Mi You
0
you cannot inherit a class from many class untill you call ti as interface
17th Aug 2016, 5:58 PM
yugant ambetkar
yugant ambetkar - avatar
0
unlike in c++ you can only inherit from 1 class
11th Nov 2016, 4:53 PM
Nofel Tiani
Nofel Tiani - avatar
0
What are the limitations of inheritance ?
12th Dec 2020, 12:55 PM
Priya Agrawal