Обсуждения
classe animal has makesound function i.e grr..... nd classes cat and dog also have makesound function i.e meow nd woof respectively... due to inheritance classes cat and dog also have makesound function of animal class ie grr.... now my q is how compiler will know which function to execute is nt ds ambiguous??... two choices r dere....
1 make sound function of animal class ie grr
2 make sound function of own like woof or meow.... any help would be really helpful....
0 голосов
6 ответовRegarding __new__ method in Python.
3 голосов
1 ответ(OOP) Detailed explination needed!
0 голосов
2 ответовFor what purpose do we use classes?
2 голосов
2 ответовHow do we access a object in java.
2 голосов
2 ответовWhy wrap a class in a var?
0 голосов
1 ответWhy does this not work??
0 голосов
3 ответовWhen to use class
1 голос
5 ответовConstructors in C#
1 голос
3 ответовusing objects in class
3 голосов
1 ответHow to inherit class in javascript?
2 голосов
1 ответGive me coding challenges
0 голосов
2 ответовInstance variable creation
2 голосов
2 ответовUsing ifndef and define
1 голос
2 ответовasking about my simple code...
0 голосов
2 ответовWhat does @class mean in python?
0 голосов
2 ответовАктуальное сегодня
Is this realistic enough?
1 Votes
Need friends
0 Votes
Web Development
0 Votes
Please complete this code.
0 Votes
Python
1 Votes