Java redeclaring class within itself
<p>I realise that this might be a stupid question, but I have not come across this before. The extract below is declaring a class. But I do not know why or understand why the class is redeclared within it's self. </p>

<p>I am still learning the ins and outs of Java so would appreciate any help. Also I know I will have probably used incorrect terms as I am unversed in the details of Java. Please correct my ignorance.</p>

<pre><code>public class TouchExampleView extends View {
    private Drawable mIcon;
    private float mPosX;
    private float mPosY;

    private float mLastTouchX;
    private float mLastTouchY;

    public TouchExampleView(Context context) {
        this(context, null, 0);
    }

    public TouchExampleView(Context context, AttributeSet attrs) {
        this(context, attrs, 0);
    }

    public TouchExampleView(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
        mIcon = context.getResources().getDrawable(R.drawable.icon);
        mIcon.setBounds(0, 0, mIcon.getIntrinsicWidth(), mIcon.getIntrinsicHeight());
    }
</code></pre>
