DRAG DROP You have a superclass superl and a subclass subl of superl. Each class has an instance constructor and a static constructor. The first statement of your program creates an instance of subl. In which sequence will the constructors be executed?
This is a bit tricky since in many languages the base class static constructor would fire before the derived one, but in ABAP OO it's actually the derived (sub1) class constructor that initializes first when you create an instance of sub1. So mapping should be: Class constructor of sub1, then super1's, then instance constructor of super1, and finally instance constructor of sub1. I remember seeing a similar gotcha on another practice set.
Class constructor of sub1, then class constructor of super1, after that instance constructor of super1, and finally instance constructor of sub1. This matches what I saw in recent exam questions. Pretty sure about this order since ABAP fires subclass static before superclass if instantiating subclass directly. If anyone got different results, let me know!
