Select true statements about the abstract classes. (select three)
Select true statements about the abstract classes. (select three)
a. A method becomes abstract when it is decorated with the @staticmethod
decorator.
b. Python doesn’t provide a special built-in module for creating abstract classes.
c. The abstract class can be treated as a template for other classes. It allows you to create a set of methods that must be implemented within any child classes built from the abstract class.
d. A class that contains one or more abstract methods is called an abstract class.
e. An abstract method is a method that has a declaration but no implementation.
f. A method becomes abstract when it is decorated with the @abstractmethod
decorator.
a. A method becomes abstract when it is decorated with the @staticmethod
decorator.
c. The abstract class can be treated as a template for other classes. It allows you to create a set of methods that must be implemented within any child classes built from the abstract class.
e. An abstract method is a method that has a declaration but no implementation.
f. A method becomes abstract when it is decorated with the @abstractmethod
decorator.