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

Plz help I just need to answer the second question
Name the two most-researched and best-known cities in Ancient India. In which modern-day country were they located?
Is the Ratio table correct?
What component of blood is important in the treatment of the virus​
Where do decomposers recycle the nutrients from dead plant and animal matter?
Select all the correct answers. How do Captain Littlepage's ideas about the past differ from those of the Sower? The Sower glorifies the past, while Captain Lit
japanese americans experienced which event during world war ll
jack needs 22 pirates for every 2 pirate ships he manages ​
Sarah can type 4550 words in 70 minutes. Richard can type 2800 in 40 minutes. Natasha can type 5400 words in 90 minutes. Who types at the fastest rate of words
Does forces have an effect on speed or acceleration