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

Java ÃæÊÔÖеÄÏÝÚå

µÚÒ»£¬Ì¸Ì¸final, finally, finalizeµÄÇø±ð¡£
×î³£±»Îʵ½¡£
µÚ¶þ£¬Anonymous Inner Class (ÄäÃûÄÚ²¿Àà) ÊÇ·ñ¿ÉÒÔextends(¼Ì³Ð)ÆäËüÀ࣬ÊÇ·ñ¿ÉÒÔimplements(ʵÏÖ)interface(½Ó¿Ú)?
µÚÈý£¬Static Nested Class ºÍ Inner ClassµÄ²»Í¬£¬ËµµÃÔ½¶àÔ½ºÃ(ÃæÊÔÌâÓеĺÜÁýͳ)¡£
µÚËÄ£¬&ºÍ&&µÄÇø±ð¡£
Õâ¸öÎʵúÜÉÙ¡£
µÚÎ壬HashMapºÍHashtableµÄÇø±ð¡£
³£ÎÊ¡£
µÚÁù£¬Collection ºÍ CollectionsµÄÇø±ð¡£
ÄãǧÍò±ð˵һ¸öÊǵ¥ÊýÒ»¸öÊǸ´Êý¡£
µÚÆߣ¬Ê²Ã´Ê±ºòÓÃassert¡£
API¼¶µÄ¼¼ÊõÈËÔ±ÓпÉÄÜ»áÎÊÕâ¸ö¡£
µÚ°Ë£¬GCÊÇʲô? ΪʲôҪÓÐGC?
»ù´¡¡£
µÚ¾Å£¬String s = new String("xyz");´´½¨Á˼¸¸öString Object?
µÚÊ®£¬Math.round(11.5)µÈ춶àÉÙ? Math.round(-11.5)µÈ춶àÉÙ?
µÚʮһ£¬short s1 = 1; s1 = s1 + 1;ÓÐʲô´í? short s1 = 1; s1 += 1;ÓÐʲô´í?
ÃæÊÔÌⶼÊǺܱä̬µÄ£¬Òª×öºÃÊÜÅ°µÄ×¼±¸¡£
µÚÊ®¶þ£¬sleep() ºÍ wait() ÓÐʲôÇø±ð?
¸ãÏ̵߳Ä×î°®¡£
µÚÊ®Èý£¬JavaÓÐûÓÐgoto?
ºÜÊ®ÈýµÄÎÊÌ⣬Èç¹ûÄĸöÃæÊÔµÄÎʵ½Õâ¸öÎÊÌ⣬ÎÒÈ°Ä㻹ÊDZð½øÕâ¼Ò¹«Ë¾¡£
µÚÊ®ËÄ£¬Êý×éÓÐûÓÐlength()Õâ¸ö·½·¨? StringÓÐûÓÐlength()Õâ¸ö·½·¨?
µÚÊ®Î壬OverloadºÍOverrideµÄÇø±ð¡£OverloadedµÄ·½·¨ÊÇ·ñ¿ÉÒԸı䷵»ØÖµµÄÀàÐÍ?
³£ÎÊ¡£
µÚÊ®Áù£¬SetÀïµÄÔªËØÊDz»ÄÜÖظ´µÄ£¬ÄÇôÓÃʲô·½·¨À´Çø·ÖÖظ´Óë·ñÄØ? ÊÇÓÃ==»¹ÊÇequals()? ËüÃÇÓкÎÇø±ð?
µÚÊ®Æߣ¬¸øÎÒÒ»¸öÄã×î³£¼ûµ½µÄruntime exception¡£
Èç¹ûÄãÕâ¸ö´ð²»³öÀ´£¬ÃæÊÔµÄÈË»áÈÏΪÄãûÓÐʵ¼Ê±à³Ì¾­Ñé¡£
µÚÊ®°Ë£¬errorºÍexceptionÓÐʲôÇø±ð?
µÚÊ®¾Å£¬List, Set, MapÊÇ·ñ¼Ì³Ð×ÔCollection½Ó¿Ú?
µÚ¶þÊ®£¬abstract classºÍinterfaceÓÐʲôÇø±ð?
³£ÎÊ¡£
µÚ¶þʮһ£¬abstractµÄmethodÊÇ·ñ¿ÉͬʱÊÇstatic,ÊÇ·ñ¿ÉͬʱÊÇnative£¬ÊÇ·ñ¿ÉͬʱÊÇsynchronized?
µÚ¶þÊ®¶þ£¬½Ó¿ÚÊÇ·ñ¿É¼Ì³Ð½Ó¿Ú? ³éÏóÀàÊÇ·ñ¿ÉʵÏÖ(implements)½Ó¿Ú? ³éÏóÀàÊÇ·ñ¿É¼Ì³ÐʵÌåÀà(concrete class)?
µÚ¶þÊ®Èý£¬Æô¶¯Ò»¸öÏß³ÌÊÇÓÃrun()»¹ÊÇstart()?
µÚ¶þÊ®ËÄ£¬¹¹ÔìÆ÷ConstructorÊÇ·ñ¿É±»override?
µÚ¶þÊ®Î壬ÊÇ·ñ¿ÉÒԼ̳ÐStringÀà?
µÚ¶þÊ®Áù£¬µ±Ò»¸öÏ߳̽øÈëÒ»¸ö¶ÔÏóµÄÒ»¸ösynchronized·½·¨ºó£¬ÆäËüÏß³ÌÊÇ·ñ¿É½øÈë´Ë¶ÔÏóµÄÆäËü·½·¨?
µÚ¶þÊ®Æߣ¬try {}ÀïÓÐÒ»¸öreturnÓï¾ä£¬ÄÇô½ô¸úÔÚÕâ¸ötryºóµÄfinally {}ÀïµÄcode»á²»»á±»Ö´ÐУ¬Ê²Ã´Ê±ºò±»Ö´ÐУ¬ÔÚreturnÇ°»¹ÊǺó?
µÚ¶þÊ®°Ë£¬±à³ÌÌâ: ÓÃ×îÓÐЧÂʵķ½·¨Ëã³ö2³ËÒÔ8µÈ춼¸?
ÓÐC±³¾°


Ïà¹ØÎĵµ£º

javaʵÏÖµÄðÅÝÅÅÐò

ðÅÝÅÅÐòÊÇÒ»ÖÖºÜÁ÷Ðкܼòµ¥µÄÅÅÐòËã·¨£¬ËüÖظ´µÄ½»»»ÏàÁÚÁ½¸ö·´ÐòÔªËØ¡£
import java.util.Date;
import java.util.Random;
public class BubbleSort {
public static void main(String args[])
{
int len = 40;
Date date = new Date();
Random random = new Random(date.getSeconds());
int data[]=n ......

javaʵÏֵĵݹ鷽·¨ÄæÐò¶Ô²éÕÒ

ÏÂÃæÊÇʹÓÃjavaʵÏֵĵݹéÄæÐò¶Ô²éÕÒ£¬ËùνµÄÄæÐò¶Ô¾ÍÊÇÔÚÊý×éA[]ÖÐÈç¹û i < j ,²¢ÇÒA[i] > A[j], ÔòÎÒÃÇ˵A[i]ºÍA[j]ÊÇÒ»¶ÔÄæÐò¶Ô¡£Èç¹ûÓÃÆÕͨµÄË㷨ʵÏֵĻ°£¬²éÕÒµÄʱ¼ä¸´ÔӶȣ¬ÊÇO(N*N)£¬Ê¹ÓÃÕâÀïµÄ¶Ó¹æµÄ·½Ê½²éÕҵĻ°£¬Ê±¼ä¸´ÔÓ¶ÈÊÇO(N*lgN)
import java.util.Date;
import java.util.Random;
/*
* ʹÓõݹ ......

javaʹÓÃrocksawºÍvserv tcpipʵÏÖ»ùÓÚICMPµÄPing¹¦ÄÜ

Ò»£º×¼±¸ www.savarese.org download
 1.  rocksaw-1.0.0-src.tar.gz
 2.  vserv-tcpip-0.9.2-src.tar.gz
¶þ£º±àÒëÔ´ÎļþµÃµ½jar°ü ʹÓÃAnt
 1.  build vserv-tcpip-0.9.2-src
      ÔÚvserv-tcpip-0.9.2Ŀ¼ÏÂÃ潨һ¸ötestsĿ¼£¬È»ºóÔÚcmd´°¿ÚϽøÈë ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ