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

thinking in java ѧϰ±Ê¼Ç£¨Ò»£© ½Ó¿ÚÓÚ¶àÖؼ̳Ð






<!--
@page { margin: 0.79in }
P { margin-bottom: 0.08in }
PRE.western { font-family: "Nimbus Roman No9 L" }
PRE.cjk { font-family: "Nimbus Roman No9 L" }
H1 { margin-bottom: 0.08in }
H1.western { font-family: "Nimbus Sans L", sans-serif; font-size: 16pt }
H1.cjk { font-family: "DejaVu Sans"; font-size: 16pt }
H1.ctl { font-family: "DejaVu Sans"; font-size: 16pt }
TD P { margin-bottom: 0in }
-->
×î½ü»îÉÙÁËºÜ¶à ´òËã²¹Ò»²¹»ù´¡ £¡ ÔÙ¿´Ò»±ßThinking In java ΪÁ˼ÓÉîÓ¡Ïó ¾ö¶¨ÔÚÕâÀïдϱʼÇͬÆڼǼ×Ô¼ºÑ§Ï°µÄ½ø¶È£¡ Ï£Íû´ó¼ÒÄܶà¶àÖ¸½Ì£¡
·Ï»°²»¶à˵ÎÒ°´ÎÒµÄ˳Ðò¿ªÊ¼ ÏÖ´ÓµÚ°ËÕ¿ªÊ¼£º
javaµÄ¶àÖؼ̳Ð
java¶àÖؼ̳ÐÊÇÒÀ¿¿ÊµÏÖ½Ó¿ÚÀ´ÊµÏֵģ¬È¥µôÁË
C£«£«ÒýÒÔΪÈٵĶàÖؼ̳Ð
javaµ±È»ÒªÏë°ì·¨ÃÖ²¹ÕâÒ»ÌØÐÔÓÚÊÇÒýÈëÁ˽ӿÚ
ºÇºÇ£¡ £¨µ±È»½Ó¿Ú»¹ÓÐÆäËûÓÃ;£©£»
½Ó¿ÚʵÏÖ¶àÖؼ̳ÐÆäʵ¸úÔ­À´µÄ
Abstract±ÈÆðÀ´ÒѾ­Óкܴó½ø²»Á˱ÈÈ磺
Èç¹û¹·µÄÖ÷ÈËÖ»ÊÇÏ£Íû¹·ÄÜÅÀ±È½ÏµÍµÄÊ÷£¬µ«ÊDz»Ï£ÍûËüβ°Í¿ÉÒÔµ¹¹ÒÔÚÊ÷ÉÏ£¬Ïñºï×ÓÄÇÑù¿ÉÒÔ·ÉéÜ×ß±Ú£¬ÒÔÃâÖ÷È˹ܲ»×¡Ëü¡£ÄÇô¹·
µÄÖ÷È˿϶¨²»»áÒªÒ»Ö»ºï×Ӽ̳еĹ·¡£
Éè¼Æģʽ¸ü¶àµÄÇ¿µ÷ÃæÏò½Ó¿Ú¡£ºï×ÓÓÐÁ½¸ö½Ó¿Ú£¬Ò»¸öÊÇÅÀÊ÷£¬Ò»¸öÊÇβ°Íµ¹¹Ò¡£ÎÒÏÖÔÚÖ»ÐèÒªÎҵĹ·ÅÀÊ÷£¬µ«ÊDz»ÒªËüβ°Íµ¹¹Ò£¬ÄÇ
ôÎÒÖ»ÒªÎҵĹ·ÊµÏÖÅÀÊ÷µÄ½Ó¿Ú¾ÍÐÐÁË¡£Í¬Ê±²»»á´øÀ´Ïñ¼Ì³Ðºï×ÓÀ´´øÀ´µÄβ°Íµ¹¹ÒµÄ¸±×÷Óá£Õâ¾ÍÊǽӿڵĺô¦¡£
ÕâÊÇÎÒ¼û¹ý×îºÃµÄÀý×ÓÁË£¡
Ô­ÎÄÒýÓã¡
ʹÓýӿÚÐèҪʲôԭÔò£¿
ÈÃÎÒÃÇʵÑéһϣ¡

//Illegal
modifier for the interface
interfaceone
; only
public & abstract are permitted
//
½Ó¿ÚÖ»ÔÊÐíÊÇ
public
abstract
interface
interfaceone{

//
int
ONENUMBER2;

//The
blank final field ONENUMBER2 may not have been initialized

/
/
ÕâÊÇ
Eclipse
ÌáÐѵÄÔ­ÎÄ
Ö¸³ö
final
×ֶαØÐë³õʼ»¯£¡

int

ONENUMBER
= 5;

//private
void f();

//Illegal
modifier for the interface method f; only public & abstract
are permitted

//
ÕâÊÇ
Eclipse
ÌáÐѵÄÔ­ÎÄ
½Ó¿ÚÖеķ½·¨±ØÐëÊÇ
public
abstract
£¡

//abstract

ÀàÄÜÓзÇ
abstrac


Ïà¹ØÎĵµ£º

JavaÉè¼Æģʽ֮:IteratorÁ´±íģʽ

ÏÈÀ´Á˽âÒ»ÏÂÁ´±íģʽµÄÔ­Àí£º
Ê×ÏÈдһ¸öJavaBean£¬ÄÚÈÝÊÇÒªÌí¼ÓµÄÔªËغ͸ÃÔªËصĽڵ㡣
public class NodeBean implements Serializable
{
   
    private Object data; //ÔªËر¾Éí
    private NodeBean next; //ÏÂÒ»¸ö½Úµã
   
  &n ......

javaÀàµÄÉúÃüÖÜÆÚ

1¡¢ ÀàÐÍ×°ÔØ¡¢Á´½ÓÓë³õʼ»¯
      JavaÐéÄâ»úͨ¹ý×°ÔØ¡¢Á´½ÓºÍ³õʼ»¯Ò»¸öJavaÀàÐÍ£¬Ê¹¸ÃÀàÐÍ¿ÉÒÔ±»ÕýÔÚÔËÐеÄJava³ÌÐòËùʹÓá£ÆäÖУ¬×°ÔؾÍÊǰѶþ½øÖƵÄJavaÀàÐͶÁÈëJavaÐéÄâ»úÖУ¬¶øÁ¬½Ó¾ÍÊÇ°ÑÕâÖÖÒѾ­¶ÁÈëÐéÄâ»úµÄ¶þ½øÖÆÐÎʽµÄÀàÐÍÊý¾ÝºÏ²¢µ½ÐéÄâ»úµÄÔËÐÐ״̬ÖÐÈ¥¡£Á¬½Ó½×¶Î·ÖÁËÈý¸ö²½Ö裺Ñé ......

ACMÖÐʹÓÃJAVAµÄ½éÉÜ


Chapter I.
JavaµÄÓÅȱµã¸÷ÖÖÊéÉ϶¼ÓУ¬ÕâÀïֻ˵˵ÓÃJava×öACM-ICPCµÄÌص㣺
(1) ×îÃ÷ÏԵĺô¦ÊÇ£¬Ñ§»áJava£¬¿ÉÒԲμÓJava Challenge  
(2) ¶ÔÓÚÊìϤC/C++µÄ³ÌÐòÔ±À´Ëµ£¬Java ²¢²»ÄÑѧ£¬ÕÒ±¾Ê飬һÁ½ÖÜÒµÓàʱ¼ä¾Í¿ÉÒԸ㶨ÁË¡£µ±È»£¬ÕâÀïÖ»ÊÇÖ¸Ò»°ã±à³Ì£¬ÏëÊìϤËùÓеÄJava¿â»¹ÊÇÐèҪЩʱ¼äµÄ¡£ÊÂʵÉÏ£¬Java Ö ......

JavaµÄÕýÔò±í´ïʽ

×î½ü×öspider£¬javaµÄÕýÔò±í´ïʽ½âÎö³öÿ¸öÍøÒ³µÄ³¬Á´½Ó£¬¸Ð¾õÕýÔòÕæµÄÉñͨ¹ã´ó£¡
´ó¸Å˵һÏ£¬ÎÒµÄͨ³£Ó÷¨¡£
ÕâÒ»²»Ö»ÊǽâÎö³ö <a href=""> Õⲿ·Ö
String regex = "(<a href=\")([\\S]+)(\")";
Pattern pattern = Pattern.compile(regex);
Matcher matcher = pattern.matcher(sb); //sbÊÇÒ»¸öhtml ´ú ......

JavaдµÄÒ»¸ömp3²¥·ÅÆ÷

»ùÓÚJavaµÄmp3²¥·ÅÆ÷Ô´´úÂë
 (1 folders, 2 files, 1.38 KB, 962.53 KB in total.)


 Ô´Âë
 (1 folders, 2 files, 1.38 KB, 961.15 KB in total.)


 JavaдµÄÒ»¸öm ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ