1.

What is abstract method? Give a suitable example to illustrate the same.

Answer»

Abstract Method: An abstract method is a method defined in the base class, but does not require code for the implementation. 

e.g.,

Class teacher: def entry (self):

teach#=int(input(“Enter No”))

def display ( ):

print (self, teach #)



Discussion

No Comment Found