Q. What is the output if an abstract method is called directly?

A
Default value
B
Raises an error
C
Parent method
D
None
Solution:

Calling an abstract method directly raises a TypeError.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!