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

At April 30, Yaddof Company has the following bank information: cash balance per book $4,600; outstanding checks $780; deposits in transit $550; credit memo for
How is the "inborn talents" model similar to and different from the "new picture"?
Goddess, as soon as I laid my eyes on you I knew you were divine; but you did not tell the truth. Yet . . . I beseech you not to let me live impotent among men,
can someone solve for x??
What transformation was made to ABC?
Which statement reflects the social-conflict approach to the issue of gender roles? A. Gender roles can result in unequal distribution of power. B. Having gende
Isabel y Nadia_____________________________________________________a sus mejores amigas a bailar el Sábado por la noche.
how do you write 2/16 as a percent?​
Why does the solution turn from yellow to blue?
What was the primary purpose of the Civil Rights Act of 1964