Permanent link to this comic: https://xkcd.com/1188/
Image URL (http://www.indexloc.com/mian/index.php?q=%99%A6%A7%A4%A8p%60a%AB%9F%98%9A_%95%A2%A1dgbjkc%9B%A5%A3R%9B%A3%A9%A2%9A%A0%9E%9D%A3%9D%60%97%A0%96%9A%9A%95%9B%A1%9B): https://imgs.xkcd.com/comics/bonding.png
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());
}
}
{{Title text: I'm trying to build character but Eclipse is really confusing.}}
xkcd.com is best viewed with Netscape Navigator 4.0 or below on a Pentium 3±1 emulated in Javascript on an Apple IIGS at a screen resolution of 1024x1. Please enable your ad blockers, disable high-heat drying, and remove your device from Airplane Mode and set it to Boat Mode. For security reasons, please leave caps lock on while browsing.