+ 1

Why doesnt the code in the example also print out grr to both dog and cat?

12th Apr 2017, 1:33 AM
Green
4 Answers
+ 6
Hey I just saw that in the Java course. Here is the code they are refering to. Cheers https://code.sololearn.com/ciRt5QWIoyKL/?ref=app
12th Apr 2017, 2:38 AM
Manual
Manual - avatar
+ 4
yea what example.... i swear some people post the most vague questions
12th Apr 2017, 2:30 AM
Edward
+ 2
what example
12th Apr 2017, 1:38 AM
Giannis Tsirovasilis
Giannis Tsirovasilis - avatar
0
hey, mind you if you run the programme in polymorphism, it shows the output based on the call made on main method.
18th Apr 2017, 6:32 AM
Ojini Chizoba Jude
Ojini Chizoba Jude - avatar