QuestionQ110Verified/Object-Oriented ProgrammingCopy linkReport a problemAsk AstroTutorSave questionWhat behavior is expected from the following code? Ait outputs 1Bit outputs 0Cit raises an exceptionDit outputs 2Show AnswerAnswerExplanationdoit() calls self.make(), which resolves to the overridden Sub_A.make() for a and the inherited Super.make() for b. Their return values are 1 and 0, so the printed sum is 1.Show comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion