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

Solve the following inequality -3/4x<-6
Which of the following formulas would find the lateral area of a right cylinder with height equal to hand ras the radius? O A. LA = 2trh O B. LA = 252 + 2x rh O
Can someone please help me? Is the answer 42?
Using the right angle below find the cosine of angle A.
What do the angle measures have to be for the lines a and b to be parallel? should get two numbers
Describe how you can stay mentally healthy in your work play?
Alcohol or drug addiction affects the entire family true or false?
What is a major disadvantage of environmental science?
Write an exponential growth or Decay function for each situation.​
6. Sources of nervousness