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

A scientist observed the formation of microorganisms in the chicken broth that was first heated and then put in a sealed flask. What most likely formed the micr
Identify each statement as a hypothesis, theory , or law. For any closed system, the mass of the system must remain constant over time. Higher air pressure caus
PLEASE HELP QUICKLY!! Look at the graph.
wich of the following is an example of resourcefulness
Please help ASAP! Describe at least one way in which each of Earth’s subsystems was altered during the Precambrian era.
What is the length of side BC of the triangle? Enter your answer in the box.
What road types does accident happen in florida?
You are applying fertilizer to a football field. The field is 360 feet long and 160 feet wide. You use 8 pounds of fertilizer per 1,000 square feet. The fertili
the graph shows the function f(x)=2^x. what is the value of x when f(x)=8?
What is the difference between a dictatorial government and a constitutional government