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

why do scientists use taxonomy to classify organism
what was the third part of james k. polks war plan
What is 100 increased by 99%
How do you express 4 feet 9 inches into height in feet only using a mixed number?
what is the value of the dependent variable if the value is 0? f(x)=-13x2+5x-2x+8
Why is a number raised to the zero power ALWAYS one and never any other number?
The beliefs of which ancient Egyptian are most similar to Abraham's beliefs? Akhenaten Imhotep Hatshepsut Tutankhamun
All animals are _______. a. producers b. omnivores c. herbivores d. consumers
what is the capital of the states whose neighbors include minnesota , iowa, and michigan?
What's 7/8x4/5? Cmon peeps it's hard