<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.explainxkcd.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=207.38.158.109</id>
		<title>explain xkcd - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.explainxkcd.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=207.38.158.109"/>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php/Special:Contributions/207.38.158.109"/>
		<updated>2026-07-09T14:24:14Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://www.explainxkcd.com/wiki/index.php?title=1188:_Bonding&amp;diff=30589</id>
		<title>1188: Bonding</title>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php?title=1188:_Bonding&amp;diff=30589"/>
				<updated>2013-03-20T12:05:07Z</updated>
		
		<summary type="html">&lt;p&gt;207.38.158.109: /* Explanation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{comic&lt;br /&gt;
| number    = 1188&lt;br /&gt;
| date      = March 20, 2013&lt;br /&gt;
| title     = Bonding&lt;br /&gt;
| image     = bonding.png&lt;br /&gt;
| titletext = I'm trying to build character, but Eclipse is really confusing.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Explanation==&lt;br /&gt;
&lt;br /&gt;
This a simple modelling in [http://en.wikipedia.org/wiki/Java_%28programming_language%29 Java] of a parent and child playing a game of [http://en.wikipedia.org/wiki/Catch_%28game%29 catch]. It makes a play on the keywords throw and catch, as well as the concept of parent and child as they pertain to datastructures.&lt;br /&gt;
&lt;br /&gt;
The code shown here will continuously call the aim() method on the parent and child instances. So this game of catch will never end.&lt;br /&gt;
&lt;br /&gt;
[http://www.eclipse.org/ Eclipse] is a tool commonly used to develop software in Java.&lt;br /&gt;
&lt;br /&gt;
==Transcript==&lt;br /&gt;
 class Ball extends Throwable {}&lt;br /&gt;
 class P{&lt;br /&gt;
     P target;&lt;br /&gt;
     P(P target) {&lt;br /&gt;
         this.target = target;&lt;br /&gt;
     }&lt;br /&gt;
     void aim (Ball ball) {&lt;br /&gt;
         try {&lt;br /&gt;
             throw ball;&lt;br /&gt;
         }&lt;br /&gt;
         catch (Ball B) {&lt;br /&gt;
             target.aim(B);&lt;br /&gt;
         }&lt;br /&gt;
     }&lt;br /&gt;
     public static void main(String[] args) {&lt;br /&gt;
         P parent = new P(null);&lt;br /&gt;
         P child = new P(parent);&lt;br /&gt;
         parent.target = child;&lt;br /&gt;
         parent.aim(new Ball());&lt;br /&gt;
     }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
{{comic discussion}}&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>207.38.158.109</name></author>	</entry>

	</feed>