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

which of the following was an accomplishment of metallurgists during the Gupta empire
Group of representatives who wrote a letter to king George
explain how the governments of two different countries are similar and different. Use at least two of the following terms : autocray, oligarchy, decmocracy, uni
Is most of Northern Chile dry, mountainous terrain on the map?
PLEASE HELP!!!! WILL GIVE AWARD!! Which statement about the Persian empire is true? Select the best answer to the questions below from the choices provided. Bab
Which animal has tracheae but no lungs for respiration? A. cardinal B. grasshopper C. toad D. tuna
PLEASE HELP!!!! WILL GIVE AWARD!! Which statement about the Persian empire is true? Select the best answer to the questions below from the choices provided. Bab
which is greater 1/5 or 1/9
what type of seismic wave shakes particles at right angles to their direction of travel?
0.8x+3.2-4.3x=7.7-1.2x