News for hackers. Stuff that matters.
Re:A bad citizen in Javaland (2006) by mintplant on Thursday December 03, 2015 @04:59PM (#10673008)
> Then if all those classes inherit from a common animal ancestor, the calling code would simply say: animal.makesound()

Which of course throws an exception in the case of Monk (inheriting from Animal -> Human), as it has taken a vow of silence.

There are no comments on this comment yet.