Study the following program:


Which of the following statements is incorrect regarding this program?
class Teacher:  
def __init__(self, id, age):
self.id = id
self.age = age
print(self.age)
tear = Teacher("John", 20)
tear.age = 30
print(tear.age)

Posted on by