Dyskusje Q&A
ID vs Class
2 głosów
2 odpowiedziclasse 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 głosów
6 odpowiedziPopularne dzisiaj
Java IDE for building a game.
1 Votes
a phone or a laptop
0 Votes
Where is code bit
0 Votes
Certificates
0 Votes
Regarding platform
1 Votes
Inquiry for img code
0 Votes