What does print(Test.__name__) display (assuming Test is the name of the class)?
(a) ()
(b) Exception is thrown
(c) Test
(d) __main__
(a) ()
(b) Exception is thrown
(c) Test
(d) __main__
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Right answer is (c) Test
Easy explanation – __name__ built-in class attribute is used to display the class name.