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

Which excerpt from "ain't i a woman?" is the best example of logos?.
100 POINTS Solve log base 2 of one over sixty four. negative one sixth one sixth −6 6
what is the name of the segment of RNA that are spliced together and expressed? A.exon B.intron C.codon
Answer The Following Questions :) (PLS HELP MEEE) What is 6/8 x 5? What is 1/4 x 7? What is 3/6 x 6? What is 4/12 x 3? What is 5/6 x 4?
plsssss help meeeeeee!!
The nth term of a sequence is (n + 1) (n + 2). Explain why every term of the sequence is an even number.
I am soooo confuseddd what the heckkk Ok so Im doing something called 'Graphing Systems of Linear Equations' , well you might say its easy but I never understoo
what causes an object to stay ar rest
Which sentence is the most concise? A. My mother supports the arts, including literature. B. The person from Canada has moved to Russia. C. Dana was excited to
the mission aims to redirect… A. a plant B. a star C. an asteroid