04-15-2013, 01:24 PM
|
#39
|
x'); DROP TABLE FFR;--
Join Date: Nov 2010
Posts: 6,332
|
Re: Teach me CS stuff for interviews
I guess I am still a little lost.
Why bother having
public:
void make_sound {};
in the subclasses at all? They already inherit from Animal -- so couldn't calling make_sound just call the function from the Animal class?
|
|
|