New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
Why is this code nt working?
12 Votes
1 AnswerWhether it will work or nt
0 Votes
1 Answerclasse 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
Strange narrowing conversion error from FLTK Color to Color Struct, Stroustrup's header Graph.h
0 Votes
[ solved ] Programming sickness
3 Votes
Effects on HTML and JavaScript
0 Votes
Encryption and Decryption
1 Votes
Izzy the iguana
0 Votes
Any good alternative to do this
2 Votes