0 votes
in Python by

What is the output of following code?

from abc import ABC, abstractmethod

class A(ABC):

    @abstractmethod

    def m1():

        print('In class A.')

a = A()

a.m1()

a) TypeError 

b) ClassError

c) AbstratError

d) In class A.

1 Answer

0 votes
by

a) TypeError 

...