错在那里
package javaapplication1;class cheak{
public boolean chea(String name,String mima ){
if( (name.equals("xiaoming"))&&(mima.equals("xiao"))){
return true;} else {
return false;}
}
}
class qu{
private String aa[];
public qu(String info[]){
aa=info;
}
cheak bb=new cheak();
String name=aa[1];
String mima=aa[2];
if (bb.chea(name, mima))
{
System.out.print("正确");
}else {
System.out.print("bu");
}
}
(bb.chea(name, mima))
那里错了 等待