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

The graph of a linear function is shown which word describes the slope of the line the choices and graph is below
What are ways the Phoenicians influenced the Greeks?
A) not enough information B)90 C)98 D)82
Which executive department is the largest? the Department of Labor the Department of Homeland Security the Department of Justice the Department of Defense
Think about the relationships in your life. Identify one you believe to be in one of the first five stages of Knapp's model. Take a moment to describe this rela
If the Moon has soil similar to Earth, then the Moon may have come from Earth. Which question best matches this hypothesis?
Which of the following choices is NOT a common injury in sports?
What main factor caused a rise in immigration in many of the cities in the Northeast region?
what is the solution of systems of equations 2x -y=7 y=2x+3
What is the most important role of hydrogen bonding between water molecules?(PLZ ANSWER ASAP)A. It allows cells to keep water in balanceB. It enables water mole