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 were the major causes of WWII? Please include at least 4 answers.
in the number 13,407.036 there are two 3's. Explain how the values of the 3's are related.
What is the least common denominator for 5/6 and 3/8. 3/4 and 6/7
how do you write 4540 million in standard form?
What were the major causes of WWII? Please include at least 4 answers.
Why is sodium sulphate hemihydrate called as "Plaster of Paris"?
in the number 13,407.036 there are two 3's. Explain how the values of the 3's are related.
What is the amplitude of y=1/2 sin2x
Mini-Project: Cents and the Central Limit Theorem 1. Collect a sample of at least 50 pennies by setting aside all the pennies you receive in change for severa
Simplify the expressions: cot 0 sec 0 A. Sin0 B. Csc0 C. Cos0 D. Cos* 0