0

What is circular inheritance?

19th Sep 2016, 5:58 PM
Vijayan
2 Réponses
+ 2
That is when a class inherits from another class which also attempts to inherit from the first class. So you can't have "A" inherit from "C" and also have "C" inherit from "A". Having the first require the second and the second require the first is circular.
24th Sep 2016, 3:47 PM
J.B.
0
Helped me a lot. Thanks
11th Nov 2020, 6:44 PM
Youssef Hammad
Youssef Hammad - avatar