Easy
Extending a Method
Person has greet() returning Hi, I am NAME.. Student(Person) adds a school, and its greet() calls super().greet() and adds I study at SCHOOL.. Read a name and a school and print the student's greeting.Input
Two lines.
Output
One line.
Sample 1
Input
Mim Dhaka College
Output
Hi, I am Mim. I study at Dhaka College.
Sample 2
Input
A B
Output
Hi, I am A. I study at B.
Output appears here