java传递String参数不会改变原String参数,此处传递的是copy
package numCombine; public class NumComberAll { public static void main(String[] args) { // TODO Auto-generated method stub String s = "lll"; fun(s); System.out.println(s); } public static void fun(String s){ s = "ttt"; } }lll