Analyze the following code:
 class

Loading

Choose the correct option.

Analyze the following code:
 class A:
     def __init__(self, s = “Welcome”):
         self.s = s
 
     def print(self):
         print(self.s)
 a = A()
 a.print()

A. The program has an error because class A does not have a constructor.
B. The program has an error because s is not defined in print(s).
C. The program runs fine and prints nothing.
D. The program has an error because the constructor is invoked without an argument.