Q&A Discussions
Animal animal lovers
1 Vote
4 AnswersAnimal lovers, java
0 Votes
7 AnswersAnimal Lovers Interfaces
2 Votes
7 Answerswhat is = new Animal ()
4 Votes
7 Answersclasse 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 Votes
6 AnswersHot today
Help in code
6 Votes
Test Case 3 & 4 Failed.
1 Votes
Frameworks?
2 Votes
New Courses
0 Votes
Input emojis and stickers
0 Votes
what course should I take first
0 Votes
😞
1 Votes