Q&A Discussies
Animal animal lovers
1 Stem
4 AntwoordenAnimal lovers, java
0 Stemmen
7 AntwoordenAnimal Lovers Interfaces
2 Stemmen
7 Antwoordenpython jungle animal question!!
0 Stemmen
4 AntwoordenAnimal lover, interfaces JAVA
0 Stemmen
1 Antwoordwhat is = new Animal ()
4 Stemmen
7 AntwoordenButton
2 Stemmen
3 Antwoordenclasse 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 Stemmen
6 AntwoordenPopulair vandaag
Where is the bug?
3 Votes
im beginner
2 Votes
Pointers cpp
2 Votes
Is pro worth the money ?
1 Votes