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

ÔÚJAVAÖÐʹÓÃÍÏק¹¦ÄÜ

 ÔÚJAVAÖÐʹÓÃÍÏק¹¦ÄÜ
sunÔÚjava2ÖÐÒýÈëÁËһЩеķ½·¨À´°ïÖúʵÏÖÍÏק¹¦ÄÜ£¬ÕâЩеÄÀàÔÚjava.awt.dnd°üÖÐ
ʵÏÖÒ»¸öD&D²Ù×÷Ò»°ã°üÀ¨Èý¸ö²½Öè:
 Ê×ÏÈʵÏÖÒ»¸öÍÏקԴ£¬Õâ¸öÍÏקԴºÍÏàÓ¦µÄ×é¼þÊǹØÁªÆðÀ´µÄ
 µÚ¶þ²½ÊµÏÖÒ»¸öÍÏקĿ±ê£¬Õâ¸öÄ¿±êÓÃÀ´ÊµÏÖÍÏקÎïµÄ½ÓÊÕ
 µÚÈý²½ÊµÏÖÒ»¸öÊý¾Ý´«Êä¶ÔÏ󣬸öÔÏó·â×°Í϶¯µÄÊý¾Ý
  _____________________                                      _____________________
 |                     |                                     |                    |   
 | DragSource Component|                                     |DropTarget Component|
 |_____________________|                                     |____________________|
                   |                                              |


Ïà¹ØÎĵµ£º

ʲôÊÇJAVAÈí¼þ£¿


Ò»°ãµÄÊÊÓÃÓÚS40µÄJAVAÈí¼þ¶¼¿ÉÒÔ×°ÔÚŵ»ùÑÇ3110cÉÏ,°üÀ¨ÓÎÏ·,µç×ÓÊé,Ó¦ÓÃÈí¼þ ʲôÊÇJAVAÈí¼þÄØ£¿
JavaÊÇÓÉSun΢ϵͳ¹«Ë¾Ëù·¢Õ¹³öÀ´µÄ³ÌÐòÓïÑÔ£¬Ëü±¾ÉíÊÇÒ»ÖÖ¶ÔÏóµ¼Ïò£¨Object-Oriented£©µÄ³ÌÐòÓïÑÔ¡£JAVAÄ¿Ç°ÔÚÊÖ»úÉÏÓ¦ÓÃ×î¶àµÄ¾ÍÊÇJAVAÓÎÏ·¡£
JavaÒ²ºÅ³ÆÊÇÄÜ¿çƽ̨ʹÓõÄÓïÑÔ£¬ÕâÖ÷ÒªÊÇÒòΪJava±¾Éí±»±àÒëÖ®ºó£¬²¢² ......

JavaÖÐSetµÄÉîÈëÑо¿

SetºÍÊýѧÖеļ¯ºÏÊÇͬһ¸ö¸ÅÄ¾ÍÊÇûÓÐÖظ´ÔªËصļ¯ºÏ¡£
ÕâƪÎÄÕÂÖ÷ÒªÂÛÊöÁËSetÊÇÈçºÎʵÏÖ"ûÓÐÖظ´ÔªËØ"£¨no duplicate elements£©µÄ£¬ÒÔ¼°²ûÊöÁËʲôÊÇ“Öظ´”£¨duplicate£©£¬ÊÇÏàͬµÄµØÖ·¿Õ¼ä£¿ÊÇequalsµÄ·µ»ØֵΪtrue£¿ÊÇcompareToµÄ·µ»ØֵΪ0 £¿»¹ÊÇÓÐÏàͬµÄhashCode£¿±¾ÎÄ»¹¸ø³öÁËÔÚʲôÇé¿öÏÂʹÓÃʲà ......

JavaÐÂÊÖÈëÃźÜÖØÒªµÄ¼¸¸ö»ù±¾¸ÅÄî

 finalÀࣺΪ·ÀÖ¹ËûÈË´ÓÄãµÄÀàÉÏÅÉÉúÐÂÀ࣬´ËÀàÊDz»¿ÉÀ©Õ¹µÄ¡£
¡¡¡¡¶¯Ì¬µ÷ÓñȾ²Ì¬µ÷Óû¨·ÑµÄʱ¼äÒª³¤¡£
¡¡¡¡³éÏóÀࣺ¹æ¶¨Ò»¸ö»ò¶à¸ö³éÏó·½·¨µÄÀà±¾Éí±ØÐ붨ÒåΪabstract¡£
¡¡¡¡Àý£º public abstract string getDescripition
¡¡¡¡JavaÖеÄÿһ¸öÀ඼ÊÇ´ÓObjectÀàÀ©Õ¹¶øÀ´µÄ¡£
¡¡¡¡objectÀàÖеÄequalºÍtoString·½· ......

JavaµÝ¹é¡¢·ÇµÝ¹éʵÏÖ¶þ²æÊ÷±éÀú

×î½üÕÒ¹¤×÷×ö±ÊÊÔÌâ·¢ÏÖºÜÖØÒª£¬¾Í×Ô¼ºÐ´ÁËÒ»µã£¬ºÍ´ó¼Ò·ÖÏí
import java.util.Stack;
import java.util.HashMap;
public class BinTree {
private char date;
private BinTree lchild;
private BinTree rchild;
public BinTree(char c) {
date = c;
}
// ÏÈÐò±éÀúµÝ¹é
public static void preOrder(Bi ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ