Program Console Vignaankosh.com
Execution Panel
Console is empty.
Inner Class Inherits Another Class is an interactive PYTHON dry run visualizer from the Nestedclass programs section. Study the source code, then use the execution controls to follow each step, variable update, highlighted line, and console output.
This page provides a browser-based dry run with source-code highlighting, auto-scroll, voice narration controls, and execution output for learning the program step by step.
class Parent:
def parent_method(self):
print("This is method of Parent class")
class Outer:
def outer_method(self):
print("This is method of Outer class")
class Inner(Parent):
def inner_method(self):
print("This is method of child Inner class")
o1 = Outer()
i1 = Outer.Inner()
i1.parent_method()
o1.outer_method()
i1.inner_method()