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

½»»»Á¬¸ö¶ÔÏóµÄÖµ£¨C/C++?JAVA£©

ÈçºÎ½»»»Á½¸ö±äÁ¿µÄÖµ£º
CÓïÑÔÖеĴ«Öµ´úÂëÈçÏ£º
int change(int x,int y)
{
int temp=x;
x=y;
y=temp;
}
CÓïÑÔÖеĴ«Ö·´úÂëÈçÏ£º
int change(int *p,int *q)
{
int temp=*p;
*p=*q;
*q=temp;
}
ʹÓÃC++ÖеÄÒýÓÃÀàÐÍ´úÂëÈçÏÂ:
int change(int &x,int &y)
{
int temp=x;
x=y;
y=temp;
}
JAVAÖдúÂëͬÉÏ£»
ÉÏÊö´úÂ빲ͬµãÊǶ¼ÊÇʹÓõĶîÍâ±äÁ¿temp;ÈçºÎ²»Ê¹ÓöîÍâ±äÁ¿Íê³ÉÁ½¸öÊýµÄ½»»»ÄØ£¿
int change(int x,int y)
{
x=x+y;
y=x-y;
x=x-y;
}
ÀýÈ磺x=3£¬y=4
µÚÒ»²½£ºx=x+y=3+4=7;
µÚ¶þ²½£ºy=x-y=7-4=3;
µÚÈý²½: x=x-y=7-3=4;
Èç´ÖÍê³ÉÁËÁ¬¸öÊýµÄ½»»»£¬²¢ÇÒÿÓÐʹÓöîÍâµÄ¿Õ¼ä.


Ïà¹ØÎĵµ£º

JavaÖм¯ºÏÈÝÆ÷ÀàListºÍSetµÄÓ÷¨

ListµÄÓ÷¨
List°üÀ¨List½Ó¿ÚÒÔ¼°List½Ó¿ÚµÄËùÓÐʵÏÖÀà¡£ÒòΪList½Ó¿ÚʵÏÖÁËCollection½Ó¿Ú£¬ËùÒÔList½Ó¿ÚÓµÓÐCollection½Ó¿ÚÌṩµÄËùÓг£Ó÷½·¨£¬ÓÖÒòΪListÊÇÁбíÀàÐÍ£¬ËùÒÔList½Ó¿Ú»¹ÌṩÁËһЩÊʺÏÓÚ×ÔÉíµÄ³£Ó÷½·¨£¬Èç±í1Ëùʾ¡£
±í1  List½Ó¿Ú¶¨ÒåµÄ³£Ó÷½·¨¼°¹¦ÄÜ
´Ó±í1¿ÉÒÔ¿´³ö£¬List½Ó¿ÚÌṩµÄÊʺÏÓÚ×ÔÉíµÄ ......

javaÓëc++µÄÇø±ð

//1.JavaÖÐ×Ö·û´®²»ÄܶàÐÐÊéд¡£¶àÐÐÊéдÓÃÒýºÅ¸ô¶Ï£¬¼ÓºÅÏàÁ¬¡£  
  //2.JavaµÄ±êʶ·û¿ÉÒÔÓÃÃÀÔª·ûºÅ¿ªÍ·¡£  
  //3.JavaÖÐûÓÐÎÞ·ûºÅ±äÁ¿»òÎÞ·ûºÅ³£Á¿µÄ¸ÅÄî¡£ËùÓеıäÁ¿¶¼ÊÇÓзûºÅµÄ¡£  
  //4.JavaÖбäÁ¿µÄ×Ö³¤Êǹ̶¨µÄ¡£²»´æÔÚcharºÍwcharÖ®·Ö¡£  
  //5.JavaÖбäÁ¿Î ......

java servlet°ïÖú2

Java Servlet API˵Ã÷Îĵµ£¨2.1a°æ£©£¨¶þ£©
API¶ÔÏóµÄ˵Ã÷\r
      ÕâÒ»²¿·Ö°üº¬Á˶ÔJava Servlet APIµÄÈ«²¿ÀàºÍ½Ó¿ÚµÄÏêϸ˵Ã÷¡£Õâ¸ö˵Ã÷ÓëJavadoc API²î²»¶à£¬µ«ÊÇÕâ·ÝÎĵµÌṩÁ˸ü¶àµÄÐÅÏ¢¡£
API°üº¬ÁËÁ½¸öÈí¼þ°ü£¬Ê®¶þ¸ö½Ó¿ÚºÍ¾Å¸öÀà¡£
Èí¼þ°ü£ºjavax.serv ......

´«ÖDz¥¿ÍJAVAÅàѵOAÏîÄ¿ ÉóÅúÁ÷תģ¿é


´«ÖDz¥¿ÍJAVAÅàѵOAÏîÄ¿ ÉóÅúÁ÷תģ¿é(δ)
×ö¹¤×÷£¬×ö¼¼Êõ£¬×îÖ÷ÒªµÄ¾ÍÊÇÓÐÒ»ÖÖרÑеŦÄÜ£¬ÌرðÊÇÔÚѧϰµÄ³õÆڽ׶ÎÒ²ºÜÖØÒª£¬ÒòΪ£¬ÀÏʦÓÀÔ¶²»¿ÉÄÜ°ÑËùÓеÄ֪ʶ½»¸øÄ㣬¾ÍÏñ£¬Äã±»ÄãĸÇ×ÉúÁËÏÂÀ´£¬ËûÊÖ°ÑÊֵĽ̻áÁËÄã×ß·£¬µ«ÊÇÈËÉúµÄ·ȴÊÇÒªÄã×Ô¼ºÈ¥×ßµÄÒ»Ñù¡£ÍùÈÕµÄѧУ£¬Ò²½ö½öÊǽ̻áÁËÄã×öÈ˵ĵÀÀí£¬»òÕßÊÇѧ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ