Discussioni Q&A
Animal animal lovers
1 Voto
4 RisposteAnimal lovers, java
0 Voti
7 RisposteButton
2 Voti
3 Risposteclasse 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 Voti
6 RispostePopolare oggi
debate which is better
5 Votes
Cource
1 Votes
Text editor
0 Votes
why is my AI in spanish
0 Votes
Arduino
2 Votes
Debugging issue?
0 Votes
how to view only application
0 Votes