Comics
#1188 Bonding
20/3/2013
class Ball extends Throwable {} class P { P target; P(P target) { this.target = target; } void aim(Ball ball) { try { throw ball; } catch (Ball b) { target.aim(b); } } public static void main(String[] args) { p parent = new P(null); p child = new P(parent); parent.target = child; parent.aim(new Ball()); } }
Hidden joke: I'm trying to build character but Eclipse is really confusing.
Picture address: https://imgs.xkcd.com/comics/bonding.png
0 Words only (saves data)4 Previous strip6 Next strip5 Random stripNewest