package
/**
* Stirng 有关的试题
*/
public class
public void
new String("abc");
"abc";
new String("abc");
//false
//false
//false
//false
//false
//true
}
public void
"hello";
"hel";
"lo";
"hel"+"lo"); //true
"hel"+lo); //false
}
public static void
new
st.strTest1();
st.strTest2();
}
}