Python Program - Single level inheritance

Published: 27 September 2017
on channel: MicroNG
16,292
219

Implement the concept of single inheritance using python.

1) Create a base class named Person with instance member’s (name and age) and a constructor to initialize the data member’s

2) Create a derived class named Student from the base class Person with instance member’s (rollno and percentage) and a constructor to initialize the data member’s

3) Include method overriding with the method named ‘display’ to display the details of instance member’s

Using a Student object, display all the details of a student(rollno,
name, age and percentage)


On this page of the site you can watch the video online Python Program - Single level inheritance with a duration of hours minute second in good quality, which was uploaded by the user MicroNG 27 September 2017, share the link with friends and acquaintances, this video has already been watched 16,292 times on youtube and it was liked by 219 viewers. Enjoy your viewing!