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

(PLSS HALP) What is the area of triangle PQR on the grid? (5 square units) (6 square units) (10 square units) (12 square units) I Will Give Brainliest
One of the main results of the French and Indian War was A) the British and their American colonies developed a much friendlier relationship. B) several Indian
What would it be tho 300 doesn’t show up in my options my options are 1/49 -1/49 -49 and 49
Why are scientific models important?
Use a calculator to find the mean of the data. {20.9, 24.6, 20.3, 24, 20.9, 24.9, 22.4, 23.5, 21.9, 21.9, 22.3, 21.2, 19.9, 23.2, 23.1, 21.6, 24, 20.8, 24.2, 20
What’s a good starter?
upon receiving your first salary, you deposited 3000 taka monthly in a fund for your future for 18 years. the fund earns 6% interest rate compounded monthly. af
4. Which event is used to move from one textbox to another through enter a) Key Click b) Key Enter c) Key Down d) Key Select
please help Find f(1/3) if f(n) = 3n.
Which of the following intervals is the graph decreasing?