Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JavaѧϰʰÒÅ2 ÓÉString str=¡±abc¡±Òý³öµÄ¹ÊÊÂ

 JavaѧϰʰÒÅ2--ÓÉString str=”abc”Òý³öµÄ¹ÊÊ£¨×ÛºÏÁËϱߵÄһЩָµãÒѸüУ¬¸ÐлÔÚϱßÁôÑÔ½»Á÷µÄÅóÓÑ£¬Ð»Ð»ÄãÃǵÄÖ¸µã£¡£© ÊÕ²Ø ´ËÎÄÓÚ2009-11-10±»ÍƼöµ½CSDNÊ×Ò³
ÈçºÎ±»ÍƼö£¿
»°ÌâÊÇÓÉÈçϵÄÊÂÇéÒý³öµÄ£º
public class StringTest { 
public static void main(String[] args) { 
String str1 = new String("abc"); 
String str2 = "abc"; 
if (str1 == str2) { 
            System.out.println("str1 == str2"); 
        } else { 
            System.out.println("str1 != str2"); 
        } 
String str3 = "abc"; 
if (str2 == str3) { 
            System.out.println("str2 == str3"); 
        } else { 
            System.out.println("str2 != str3"); 
        } 
        str1 = str1.intern(); 
if (str1 == str2) { 
            System.out.println("str1 == str2"); 
        } else { 
            System.out.println("str1 != str2"); 
        } 
String str4 = new String("abc"); 
        str4 = str4.intern(); 
if (str1 == str4) { 
            System.out.println("str1 == str4"); 
        } else { 
            System.out.println("str1 != str4"); 
  &nb


Ïà¹ØÎĵµ£º

JavaÅàѵµÚÒ»ÌìºóµÄ¸ÐÏë

         ÔڲμÓJavaÅàѵµÚÒ»Ììºó£¬×Ô¼ººÜÓиÐÏ룬ԭÒòÆäʵҲºÜ¼òµ¥¡£±¾ÈËרҵÊÇÈí¼þ¹¤³Ì£¬ÏÖÔÚÒѾ­´óÈýÁË£¬ÎªÁË×Ô¼ºÒÔºó¸üºÃµÄ¾ÍÒµ£¬²Î¼ÓÁËÕâ¸öΪÆÚËĸöÔµÄJavaÅàѵ°à£¬µ«ÊÇÔÚÕâ¸öÈËÊýΪ60ÉÏϵİàÖУ¬Ö»ÓÐ5¸öÈËÊǼÆËã»úרҵµÄ£¨°üÀ¨±¾ÈË×Ô¼º£©¡£ÆäÓàµÄѧÉúÊÇÊýÀíϵµÄ¡£
  ......

¡¾IBMÐèÇóÐÅÏ¢¡¿ JAVA, C/UNIXÐèÇó

´ó¼ÒºÃ£¬ÕâÀïÓÐIBMµÄÈý¸ö³¤ÆÚÐèÇ󣺾ùÊÇÐèÒª2ÄêÒÔÉÏÏà¹Ø¹¤×÷¾­Ñ飬ÆäÖÐJavaÒÔ¼°TestingÐèÒªÓ¢Óï¿ÉÒÔ½»Á÷£¬C/Unix²»ÐèÒªÓïÑÔ¡£
Java ´óÁ¬
ÃèÊö£ºJava programming, knowledge in J2SE, SWT/JFace, XML. Eclipse programming, knowledge in eclipse architecture. Clear understanding of plugin development. Hands-on exp ......

[ת]ÔÙÂÛJavaδÀ´Ö®Â·

2006ÄêÎÒÔø¾­Ð´¹ýһƪÌÖÂÛJavaδÀ´µÄÎÄÕ£¬ÔÚÄÇƪÎÄÕÂÖÐÎÒÌÖÂÛÁË¿ªÔ´¡¢JavaÔÚÏû·Ñµç×ÓÉ豸ÖеÄʹÓã¬ÏÖÔÚÔÚËùÓÐÀàÐ͵ÄÒƶ¯É豸ÉÏJavaµÄÓ¦ÓÃÕýÔÚÖð²½ÉÏÉý¡£¶ÔSun±»ÊÕ¹ºÒ»Ê£¬ÒÔ¼°JavaÓëOracle²úÆ·¼¯³ÉÎÒûʲôºÃÔ¤²âµÄ£¬Ò²Ã»Ê²Ã´ºÃµÄ½¨Ò飬ÎÒÖ»µ£ÐÄJavaµÄδÀ´»á×ßÏòºÎ·½?ÔÚÕâƪÎÄÕÂÖÐÎÒÖØÐÂÉóÊÓÁËOracleÊÕ¹ºSunºóJavaµÄδÀ´Ö ......

JavaÖеÄÖµ´«µÝºÍÒýÓô«µÝ

ÔÚjavaÖÐʵÖÊÖ»´æÔÚÒ»ÖÖ´«µÝ·½Ê½£º¼´Öµ´«µÝ¡£ ¶øÒýÓô«µÝÊǶÔC/C++¶øÑԵġ£½áÂÛ£º
¡¡¡¡¶ÔÓÚ»ù±¾ÀàÐÍ£¬ÔÚ·½·¨ÌåÄÚ¶Ô·½·¨²ÎÊý½øÐÐÖØи³Öµ£¬²¢²»»á¸Ä±äÔ­ÓбäÁ¿µÄÖµ¡£
¡¡¡¡¶ÔÓÚÒýÓÃÀàÐÍ£¬ÔÚ·½·¨ÌåÄÚ¶Ô·½·¨²ÎÊý½øÐÐÖØи³ÓèÒýÓ㬲¢²»»á¸Ä±äÔ­ÓбäÁ¿Ëù³ÖÓеÄÒýÓá£
¡¡¡¡·½·¨ÌåÄÚ¶Ô²ÎÊý½øÐÐÔËË㣬²»Ó°ÏìÔ­ÓбäÁ¿µÄÖµ¡£
¡¡¡¡ ......

c# java Çø±ð

c# java Çø±ð
C#ÓëJAVAµÄÏà֮ͬ´¦:ÓÉÓÚC#ÓëJAVA¶¼ÊÇ»ùÓÚC++·¢Õ¹ÆðÀ´µÄ,Òò´Ë¶þÕßÖ®¼ä¾ßÓкܶàÏàËÆÖ®´¦,¾ßÌåÈçÏÂ:
1¡¢C#ºÍJAVAÓïÑԵıàÒë½á¹ûÊǶÀÁ¢ÓÚ¼ÆËã»úºÍ±à³ÌÓïÑԵģ¬¿ÉÖ´ÐÐÎļþ¿ÉÒÔÔÚÊܹÜÀíµÄÖ´ÐÐ
»·¾³ÖÐÖ´ÐУ»
2¡¢C#ºÍJAVAÓïÑÔ¶¼ÊDzÉÓÃÁË×Ô¶¯µÄÀ¬»ø»ØÊÕ»úÖÆ£»
3¡¢C#ºÍJAVAÓïÑÔ¶¼È¡ÏûÁËÖ¸Õë²Ù×÷£»
4¡¢C ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ