In this video lecture, we will discuss abstract class and abstract method in python.
Abstract class is a class that contains one or more abstract method.
We cannot create the object of abstract class.
Abstract class is like a blueprint for other classes.
Abstract class contains abstract methods defined in the abstract class but have no implementation.
To create and abstract class, you use the abc module ( "Abstract Base Class" )
The ABC Class is the base class for defining abstract classes and the abstract method decorator is used to mark methods as abstract.
Check out the Practical examples!
#abstractclassinpython #crackITwithAnu #abstractclasspython #pythonabstractclass #abstractclassexampleinpython #abstractmethodinpython #abstractmethodpython #pythonabstractmethod #learnpython #pythonprogramming