关于以下代码说法正确的是(_____)。 class Student: def language(self): print ("All the studen
关于以下代码说法正确的是(_____)。 class Student: def language(self): print ("All the students like Python") class Mary(Student): def work(self): print("Mary is programming") class Tom(Student): def language(self): print("Tom likes JAVA") mary = Mary() tom = Tom()
A、mary.language()会打印出All the students like Python
B、tom.language()会打印出All the students like Python
C、tom.work()会打印出Tom is programming
D、tom.language()会打印出Tom likes JAVA