Consider the given Python code:

class Base:

    def init__(self):

        self.a = 86

    def change(self):

        self.a = 24

class Derived (Base):

    def change(self):

        self.a = self.a + 14

        return self.a

def main():

    obj = Derived()

    print(obj.change())

main()

1
38
2
100
3
110
4
Error

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation