How do we make dounn program print both Grr and Meow?? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

How do we make dounn program print both Grr and Meow??

I tried to make it like huon program. in his case inheritance topic is used https://code.sololearn.com/ctrZKr67LojR/?ref=app https://code.sololearn.com/cZn79b6E97CG/?ref=app

18th Aug 2018, 8:56 AM
Jinyoongisaranghe
Jinyoongisaranghe - avatar
2 ответов
0
Hi Jinyoongisaranghe, here is a solution to your question. Hope it helps👍 https://code.sololearn.com/c48W4tsR4dbq/?ref=app
18th Aug 2018, 9:52 AM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar
0
Vincent Berger but how is huon executing without typing c.makesound and a.makesound. in that program huon he only declared the object but did not invoke the method.
18th Aug 2018, 11:04 AM
Jinyoongisaranghe
Jinyoongisaranghe - avatar