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

mZDEF = 5x – 3 and mZFEG=2x+15
The absolute value of a number is​
There are 87 first graders in after care.after 39 students are picked up, the teacher put the remaining students into 4 groups for an activity. How many student
What happened in the 1980’s with environmental laws and regulations because some people claimed that the laws and regulations were hurting the economy?
Which nation is located at 70 degrees west longitude and 20 degrees north latitude?
Solve the following system of equations using substitution:2x - 2y + z = 8-y+z=42z=4​
On a number line, 9.7 would be located where? Choose all answers that make a true statement
i will cashapp you $70 if you can help me on my tests
Evaluate the Piecewise Function for: f(2)
The reason that men who have enlargement of the prostate gland experience urinary symptoms is:_______.A. The prostate gland is part of the urinary system.B. The