Q&A Discussões
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 Voto
6 RespostasQuente hoje
Python and unsigned int
0 Votes
Saturn League badge
2 Votes
Sololearn keeps crashing
1 Votes
Lua course?
2 Votes
certificate
1 Votes
Adding an image to my html
0 Votes
CSS
1 Votes
Not able to activate account
0 Votes