laonekopano laonekopano
  • 03-12-2020
  • Computers and Technology
contestada

how and when abstract classes are used in python

Respuesta :

tonb
tonb tonb
  • 03-12-2020

Answer:

A class is called an Abstract class if it contains one or more abstract methods. An abstract method is a method that is declared, but contains no implementation. Abstract classes may not be instantiated, and its abstract methods must be implemented by its subclasses.

Explanation:

So it only makes sense to use them if you plan to have preferably more than one subclass.

Answer Link

Otras preguntas

What is the purpose of Bradford’s Of Plymouth plantation? To record the experiences of African slaves To record the experiences of the first European setters
7x+3y =-4 X-5y=-6 substitution please explain
I am stuck... Chemistry is the worst and anything is appreciated!
Mis amigos y yo ____________________ que es aburrido a. digo c. dicen b. dices d. decimos
What is a sounds bite? Give an example of one
What can you infer about the distribution of the effects of climate change? “The world’s least developed countries contribute only 10 percent of annual global c
Compare Pure Marxist with Revisionists.
What purpose is served by the carved figures that adorn the entryways at chartes cathedral?
Today, about how many voters call themselves independents
has anyone done this before ??