看看这段代码
interface Collectable {
int One(int x,int y);
void Two();
void Three();
}
class IncludeInterface implements Collectable {
boolean key=true;
int x=0;
public int One(int x, int y){
return x+y;
}
public void Two(){
  System.out.println("is right");
}
public void Three(){
while(key){
x=(x+1)%10;
××××××××××          System.out.println(x+x+x+"hello"+x+x+x);
if(x>=9)
{
key=false;
}
}

}
}
public class LearnInterface {
public static void main(String args[]){
Collectable m =new IncludeInterface();
m.One(2,3);
m.Two();
m.Three();
}
}
输出结果是这样的:
is right
3hello111
6hello222
9hello333
12hello444
15hello555
18hello666
21hello777
24hello888
27hello999我的问题就是 在代码前有××××××××的这句System.out.println(x+x+x+"hello"+x+x+x);  为什么前面的3个x相加输出的是3 6 9……而后面的3个x输出的是111 222 333……?