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

What problems brought on the tariff debates of 1827 and 1828? In what way did the South respond to northeastern demands for a higher tariff, and on what did the
use elimination to solve: NN+ND=50 5NN+10ND=450
43.586 rounded to the nearest hundredth
A procedure designed to test a hypothesis
How to simplify square root of 210?
An adult blinks about 450 times in 30 min. A 12 year old blinks about 150 times in 15 min. How many more times does an adult blink in 60 min. than a 12 year old
What is 25.2<1.5y+1.2
What is 16/8 as a mixed number
i need a paragraph on work experience like where i went ,what i did,what my boss was like and what i did during the work experience ? can anyone help?!
A procedure designed to test a hypothesis