Óû§Ãû£ºvy8810
1.j¸ÏÖÆÒýÎï´¡Çâ°×ÎÀ½×²Ë**aÖж¨ÒåÒ»¸ö×Ö·û´®Êý×鷽ʽÈçÏ£¬stringËêËÀÀàÐͺÍÆäËû»ù±¾ÀàÐÍÏàËƽзÊÍâÊÜ£¬´´½¨Êý×éÓÐÁ½ÖÖ·½Ê½£º
String[]str={"AAA","**B","CCC"};
Stringstr[]={"AAA","**B","CCC"};
2.ÍƼöÓÃArrayList<String>strArray=newArrayList<String>();±È½ÏÁé»î¡£
3.Ò²¿ÉÒÔдΪÈçϸñʽ£ºclass[]array;arraº¦Òѻƴ¹³ÔÒ½·ÛÔ¼Ô½ºìy=newclass[**mber];ÆäÖÐÇ°°ë¾äΪÉùÃ÷£¬ºó°ë¾äΪ³õʼ»¯À´×Ô£¬³õʼ»¯±ØÐëÒªÈñàÒëÆ÷ÖªµÀ´óС£¬ÉùÃ÷µÄʱºòj**aÊDz»·ÖÅäÄÚ´æµÄ£¬Ö»ÎÊ´ðÓд´½¨µÄʱºòÒ²¾ÍÊÇnewµÄʱºò²Å»á·ÖÅäÄÚ´æ¡£
À©Õ¹×Ê
Ê¿ÊÇÕÆÁÏ£º1.Êý×éÊÇÏàͬ**ÀàÐ͵ÄÔªËصļ¯ºÏ¡£
2.Êý×éÖеĸ÷ÔªËصĴ洢ÊÇÓÐÏȺó˳ÐòµÄ£¬ËüÃÇÔÚÄÚ´æÖа´ÕÕÕâ¸öÏȺó˳ÐòÁ¬Ðø´æ·ÅÔÚÒ»Æð¡£
3.Êý×éÔªËØÓÃÕû¸öÊý×éµÄÃû×ÖºÍËü×Ô¼ºÔÚÊý×éÖеÄ˳ÐòλÖÃÀ´±íʾ¡£ÀýÈçÎ󻯶ùÁÏȨ£¬a[0]±íʾÃû×ÖΪaµÄÊý×éÖеĵÚÒ»¸öÔªËØ£¬a[1]´ú±íÊý×éaµÄµÚɽ¿à½¥½Ï¾íÀë¶ËÇ°¶þ¸öÔªËØ£¬ÒÔ´ËÀàÍÆ¡£
4.¶ÔÓÚVBµÄÊý×飬±íʾÊý×éÔªËØʱӦעÒ⣺ϱêÒª½ô¸úÔÚÊý×éÃûºó£¬¶øÇÒÓÃÔ²À¨ºÅÀ¨ÆðÀ´£¨²»ÄÜÓÃÆäËûÀ¨ºÅ£©¡£Ï±ê¿ÉÒÔÊdz£Á¿£¬±äÁ¿£¬»ò±í´ïʽ£¬µ«ÆäÖµ±ØÐëÊÇÕûÊý¡£Ï±ê±ØÐëΪһ¶ÎÁ¬ÐøµÄÕûÊý£¬Æä×îСÖ**ÉΪϽ磬Æä×î´óÖ**ÉΪÉϽ硣²»¼Ó˵Ã÷ʱϽçֵĬÈÏΪ1¡£
²Î¿¼**£º×Ö·ûÊý×é_°Ù¶È°Ù¿Æ