2、PeorityTest---get from the sun Tech Day and I change a little   J
   
 1public class peority
 2{
 3    public static void main(String args[])
 4    {
 5        String s1 = "abcdefg:10";
 6        String s2 = "abcdefg:" + s1.length();
 7        System.out.println(s1.equals(s2));
 8        System.out.println(s1==s2);
 9        System.out.println("s1==s2"+s1==s2);
10    }

11}

12        
13
if you don't understand this, you can use the javap tool, maybe cause another post J