求助
System.out.println("1");}
}
class con2 extends con1{
public con2(){
String t="hello";
System.out.println("2");
System.out.println(t);
aa();}
public void aa(){
System.out.println("this not");
System.out.println(t);
}
}
class con3 extends con2{
int s=23232;
public con3(){
System.out.println("12");
System.out.println("last "+s);
}
public void aa(){
System.out.println("hi "+s);
}
pubic static void main(String[] aa){
con3 m=new con3();
}
} 这个错误你能帮我修改一下
他的错误提示是
con3.java:26: <identifier> expected
pubic static void main(String[] aa){
^
con3.java:30: ';' expected
}
它是什么意思
请帮帮我这个程序