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

A gaseous substance turns directly into a solid. Which term describes this change? deposition evaporation melting sublimation
Zack is going to send some flowers to his wife. Greenpoint Florist charges $1 per rose, plus $30 for the vase. Ashley's Flowers, in contrast, charges $3 per ros
Cree que podríamos vivir sin leyes
help please (2.5,-0.5) , (4,-1.5) , (2.5,-2) , (2.5,-.5)
Draw an area model to show how the distributive property of multiplication can be used to solve 7×9.
MY NAME IS SPONGEBOB plz help LOL
Calculate the pay for the following day of a weekly time card given a wage of $12/hr. Name Week of: Morning In Out Monday 08:15 12:15 Afternoon In Out 13:00 17:
4.53x 11 What is the product of the two factors?
Which sentence is correct? Select one: a. Mikey is a happy three-year old boy. O b. Mikey is a happy three-year-old boy. C. Mikey is a happy three year-old boy.
can these side lengths make a triangle 2,3,7 ? yes no are in possible