我想扩展这个类,这个类的构造函数有参数。这是主类 public CAnimatedSprite(String pFn, int pWidth, int pHeight){}public class CMainCharacter extends CAnimatedSprite {
//public void CMainChar
如何从STudent类调用print()?我尝试创建Student test = new Student(),但这告诉我构造函数类型不能应用于给定的类型。我在Netbeans中得到的错误是Required String,string,int,int。找不到任何参数实际参数和表单参数的长度不同。public class Roster {
print