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

. All cells possess all of the following components EXCEPT: a genetic material. b cytoplasm. c a nuclear membrane. d a plasma cell membrane.
what are the three main features of a eukaryotic cell?
simplifying algebraic expressions1-10
A density curve for all the possible weights between 0 pounds and 10 pounds is in the shape of a rectangle. What is the value of the density curve in this inter
Jimmy loaded three bags of sand into his wheelbarrow. The bags weighed 24 1 2 lbs, 32 3 5 lbs, and 44 1 8 lbs. The total amount of sand in the wheelbar
What happen to the fall of Rome
What is slavey in north and south
4768 to 3 decimal places
____ is the process of converting a message into a secret code and changing the encoded message back to regular text.
form the possessive of plural nouns that do not end in s by adding _____. ' 's s' s