static show()方法运行了吗?为什么看结果感觉没运行啊?
package com.itheima01;
public class Test {
public static void main(String[] args){
String s1 = "abc";
String s2 = "xyz";
show(s1,s2);
System.out.println(s1+"-----"+s2);
}
static void show(String s1,String s2){
s1 = s2+s1+"Q";
s2 = "W"+s1;
}
}