Vidyalelo
Python · Q35

Classes and Objects in Python

Programming · Python · question 35

Q35

What does print(Test.__name__) display (assuming Test is the name of the class)?

A.
()
B.
Exception is thrown
C.
Test
Answer
D.
__main__

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board