LogoYasir Bhutta
30:00
Question 1
1/16

What is the output of the following code?

Python
class Animal:
    def speak(self):
        print("Animal speaks")

class Dog(Animal):
    pass

d = Dog()
d.speak()