Why are implicit superclass constructor calls made in the wrong order in MATLAB 7.6 (R2008a)?
Show older comments
I have definied a handle class, class_a, which is a superclass of class_b. In turn, class_b is a superclass of class_c. All of the class constructors do not require input parameters, and are being called implicitly. I expect the constructors to be called in the order
class_a
class_b
class_c
similar to other object oriented programming languages. However, they are actually called in the order:
class_c
class_b
class_a
Accepted Answer
More Answers (0)
Categories
Find more on Software Development in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!