t348.py 189 B

12345678910111213
  1. class SuperClass:
  2. def apply(self):
  3. return "SuperClass"
  4. class SubClassA(SuperClass):
  5. def apply(self):
  6. return "SubClassA"
  7. x = SubClassA()
  8. print x.apply()