I wrote a simple code:
public class Maintest {
public static void main(String[] args) {
// TODO Auto-generated method stub
String key = "12345testabcd";
System.out.println(key.getBytes());
System.out.println(key.getBytes());
}
}
when I run it the two print results are different.Why?Is this println related?Thx.