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 is the f(x)+1 if x=-4
Find the length of side a?
Gail needs 9 yards of fabric for a quilt. How many different patterns of fabric does she need if she buys of a yard of each pattern? patterns
How many types of rocks can form from the rock cycle? 1 2 3 4
1) Did The patriots had allies that helped them to defeat the British True or false 2) Why did the Patriot troops lose the battle of Long Island? A.) They did n
What are 2 ways Israelis control Palestinians living in the west bank?
I will make BrainliestDefine 1.Respiration2. What is life processes 3.Formula of photosynthesis ​
what is the actual length of the living space if the length of the scale drawing is 16.8 centimeters ? ​
_________Hawaii is the location for the Pacific Tsunami Warning Center
I need help! What’s the value of c in the equation below?