用代码告诉你选择多重要!
public static void main(String[] args) {
boolean success=false;
success(success);
loser(success);
}
public static boolean success(boolean success){
int count=0;
while (!success) {
count++;
if(count==99){
success=true;
}else{
success=false;
}
}
return success;
}
public static boolean loser(boolean success){
while (!success) {
success=false;
}
return success;
}
你确定你现在得方向是正确得嘛?如果确定那就勇敢走下去,如果不是请赶快调整方向!