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

What features of colonial politics in 18th century America contributed to the development of popular democracy, and what kept political life from being more tru
What number is halfway between 3000 and 4000
Write five names for 64 .
which term better describes political parties in american politics: division or unifying?
A mountain climber camped at an elevation of 18,492 feet. the following day the climber descended 2,516 feet to another campsite. Type a numerical expression
What two numbers has a lcm of 50
Which is larger 7% or 0.7 why?
Convert 57 mL to its equivalent in L using dimensional analysis
Kenji buys 3 yards of fabric for $7.47. Then he realizes that he needs 2 more yards. How much will the extra fabric cost?
doors for the small cabinets are 11.5 inches long.doors for the large cabinets are 2.3 times as long as the doors for the small cabinets.how many large doors ca