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 are the disadvantages to a free-market economy
Which of the following is NOT a characteristic of the Supreme Court?
the roman war with ______ resulted in Rome becoming the most powerful state in the Mediterranean
Based on part two trifles the symbolism of the dead bird implies that mr Wright
plzzzzzzzz help me fast Use the drop-down menus to select the best answers. is the term for any physical substance. is the smallest unit of any element. is t
The longer leg of a right triangle is 17 cm longer than the length of the shorter leg x. The hypotenuse is 25 cm.
need ASAPwhat is the author's thesis for Thomas Jefferson: The Best Of Enemies​
If tan (t) = -1.4 what is the tan(-t) ???
describe about earth warm farming in 3 paragraph?? ​
Ananya's is 7 year 8 months 16 days and Abha's age is 4 years 10 months 25 days . By how much Abha is younger than Ananya ?​