• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
Menu
0

Inheritance

Why it cant execute from its base class ? class A: def method (self): print(1) classB(A): def method(self): print(2) B().method()

inheritance
12th Nov 2019, 2:05 PM
Preethi Loganathan
Preethi Loganathan - avatar
1 Odpowiedź

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
Machine learning
1 Votes
Can you give me suggestions on what to code please (HTML+CSS)(beginner + intermediate suggestions)
1 Votes
Please help me get xp
1 Votes
Why the output is skipping the first 0 index and starting from 1 when I put the iteration out the for loop?
0 Votes
Without giving the answer, what to do to complete the cells question?
0 Votes
JavaScript
1 Votes
What is operator overriding
1 Votes
What is machine learning?
0 Votes
Why Can’t I See the XP Needed for the Next Level
0 Votes
How we get hearts
0 Votes