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 correct i need help Plz
Write a story that ends with it is better to had listen than to had done my wish
A population of a city is 30 000 and decreases 3% each year. If this trend continues. what will the population be after 10 years?
What steps should vegetarians take to ensure they get proper levels of protein?
Write an equation for the data in the table. Identify your variables.
3. What is the y intercept of this line? A. -2 B. 2 C. -3 D. 3 4. What is the y intercept of this line? A. -2 B. 2 C. -3 D. 3
I need help please help me!!!!
HELP ME PLEASEEEEEEEEE
When debate about the right to gun ownership in the United States occurs, which part of the Bill of Rights do people normally refer to? A. amendment ||| B. Amen
Which could NOT be the length of the unknown side of the triangle? A. 12 B. 14 C. 15 D. 18