Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobierenF&A Diskussionen
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 Stimmen
6 AntwortenHeute heiß
3 consecutive words
1 Votes
c++ help
0 Votes
Access deny problem
2 Votes
BOTSS
0 Votes
How to insert a link into code
0 Votes
A small question
0 Votes
What's wrong with my code?
0 Votes
How to complete
1 Votes