Why does Java sources have have so many folders inside each other?
<p>This has been bothering me a while, every time i look at some Java source code, i find myself surfing on folder that has folder that has folder that has folder in it etc. I dont understand why does Java require so many nested folders, which has nothing else in it except the new subfolder, and it just doesnt make sense to me.</p>

<p>For example:
<a href="https://github.com/halfninja/android-dragcontrol3d/tree/master/src/uk/co/halfninja/android" rel="nofollow">https://github.com/halfninja/android-dragcontrol3d/tree/master/src/uk/co/halfninja/android</a>
probably not worst example, but still there is two folders "uk" and "co" that just doesnt make sense. I see this kind of stuff in Java sources only!</p>

<p>And for example minicraft: <a href="http://www.ludumdare.com/compo/ludum-dare-22/?action=preview&amp;uid=398" rel="nofollow">http://www.ludumdare.com/compo/ludum-dare-22/?action=preview&amp;uid=398</a></p>

<pre><code>import com.mojang.ld22.gfx.Font;
import com.mojang.ld22.gfx.Screen;
import com.mojang.ld22.gfx.SpriteSheet;
</code></pre>

<p>why not just write:</p>

<pre><code>import gfx.Font;
import gfx.Screen;
import gfx.SpriteSheet;
</code></pre>

<p>so much cleaner.</p>

<p>I have never programmed on Java, so this might be stupid question... Excuse me.</p>
