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 happens when Malcolm refuses to say his number to the prison guards
who is the audience for “the “not everyone should go to college’ argument is classist and wrong
Write a short note on Ife art(history)​
what claim is the author making in paragraph 8? Answer choices for the above question A. We should pay attention to the celebrities who try to make the world
Juan pushed a shopping cart 8.4meters at a steady speed. It took him 7.0seconds to push the cart that distance. During that time, Juan's daughter jogged past hi
which expression is equivalent to 4(2.61y-3.08)?
if Mark strikes out 3 players in 30 minutes how long will it take for him to strike out 12 players
Identify the translation of the figure with the vertices A(1,-3),B(3,2),C(-5,4),"and" D(6,-6) along the vector 〈3,-1〉.
How can get (FREE)Internet access at home
Quadrupled root of 81 raised to -2