java, extending class with the constructor of main class has parameter
<p>hei. the language is java.
i want to extend this class which the constructor has parameters.</p>

<p>this is the main class</p>

<pre><code>public class CAnimatedSprite {
     public CAnimatedSprite(String pFn, int pWidth, int pHeight) {
     }
}
</code></pre>

<p>this is the child class</p>

<pre><code>public class CMainCharacter extends CAnimatedSprite {

    //public void CMainCharacter:CAnimatedSprite(String pFn, int pWidth, int pHeight) {
    //}
}
</code></pre>

<p>how do i write the correct syntax?
and the error is "constructor cannot be applied to given types"</p>
