Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : java

´æ´¢¹ý³ÌÈçºÎ²¶»ñjava³ö´í,È»ºó»Ø¹ö,²»×öÌá½»

Ä¿Ç°ÓÐÒ»¸öjava³ÌÐò,µ÷Óô洢¹ý³ÌÔÚÊý¾Ý¿âÖÐдÈëһЩÊý¾Ý£¬È»ºó½«ÕâЩÊý¾Ý´«Êä¸øÁíÍâÒ»¸ö³ÌÐò,Ä¿Ç°²»¹ÜjavaÁ¬½Ó³É¹¦»òÊDz»³É¹¦£¬¸Ã´æ´¢¹ý³Ì¶¼»áдÈëÊý¾Ý!
Ä¿Ç°ÐèÒªÔÚjavaÁ¬½Ó²»³É¹¦µÄÇé¿öÏÂ,Óкη½·¨ÄÜʹ´æ´¢¹ý³Ì×Ô¶¯»Ø¹ö¡£
(µ±È»Ò²¿ÉÏÈÅжÏÁ¬½ÓÊÇ·ñÁ¬½Ó³É¹¦ÔÙµ÷Óô洢¹ý³Ì,³ýÁËÕâÖÖ·½·¨»¹ÓÐʲô·½·¨)
ÄãµÄÁ¬½ÓÊÇÖ¸Á ......

java Ó³Éä»úÖƵÄ×Ö¶ÎÀàÐÍÎÊÌâoracle



ÎÒoracleÖж¨ÒåµÄ×Ö¶ÎÀàÐÍÊÇnumber

ÄÇôÎÒÔÚbeanÖÐÔõô¶¨Òå×ֶεÄÀàÐÍÄØ£¿

ÎÒÊÔÁËÊÔlangºÍintegerÁ½ÖÖ£¬¶¼²»ÐÐ

Ò»Ö±±¨java.lang.IllegalArgumentException

ÄÄλ֪µÀ£¬»¹Çë¸æÖªÏÂÁË£¬Ð»Ð»

½áÌù£¬¹þ¹þ¹þ¹þ£¬Õâ¸ö´óÏÉ£¬¹ûÕæÁéÑé°¡

ÄÜ·ñÁôÏÂÄúµÄÁªÏµ·½Ê½£¬QQ,msnʲôµÄ£¬Õâ¸öÎÊÌâ ......

javaÔõôģÄâµÇ½ÍøÕ¾£¿¾ÍÒªÒ»¸öµÇ½¹ý³Ì

×îºÃ´øÀý×Ó¡£Ð»Ð»¡£
Óà httpclient°ü ¿ÉÒÔ ºÜÈÝÒ×ʵÏÖ¡£¡£¡£

HttpClient httpclient = new HttpClient();
GetMethod httpget = new GetMethod("https://www.verisign.com/");
httpclient.executeMethod(httpget);
//·µ»ØµÄ½á¹û
System.out.println(httpget.getStatusLine().toString());
......

ÈõÈõµÄÎÊÒ»¸ö¹ØÓÚjavaÊéÃæÓïÑÔµÄÎÊÌâ

¶¨ÒåÒ»¸öÈ˵ÄÀ࣬ÀïÃæÓÐÈ˵ÄÊôÐÔ£¬ÔÙ¶¨ÒåÒ»¸öÆû³µµÄÀ࣬ÔÙ¶¨ÒåÒ»¸ö¿ªÆû³µµÄÀ࣬ÀïÃæÊÇ¿ªÆû³µµÄ·½·¨£¬·½·¨ÀïÃæµ÷ÓÃÈ˵ÄÊôÐÔºÍÆû³µµÄÊôÐÔ£¬°ÑËûÃÇÁ¬½ÓÆðÀ´µÄÕâ¸öÀàÓÃÕý¹æµÄÊéÃæÓïÑÔ½Ðʲô£¬ÆäËûÁ½¸öÀàÓÖ½Ðʲô£¡

¿ªÆû³µµÄÀà?
ÀàÊÇÃû´Ê²»ÊǶ¯´Ê,·½·¨²ÅÊǶ¯´Ê
Ó¦¸ÃÊÇÆû³µÀàµÄÆô¶¯Æû³µ·½·¨

ÎÒÊÇÎÊÁ¬½ÓÆû³µºÍÈ˵ÄÀà ......

JAVA swing Öеİ´Å¥ÏàӦʼþ

ÏÖÔÚÓöµ½ÕâÑùÒ»¸öÎÊÌ⣺
  ÔÚjava Öбàдswing³ÌÐò£¬ Ìí¼Ó°´Å¥jbServerStart£¬Ä¿µÄÊǵ±µã»÷jbServerStartʱ£¬³ÌÐò»á×Ô¶¯´´½¨Á½¸öÓëÆäËûÖÕ¶ËͨÐŵĶÔÏ󣬴úÂëÈçÏ£º
private Container createButtonPane(){
//¹¹Ôì°´Å¥
jbServerStart=new JButton("Æô¶¯");
jbServerStart.addActionLi ......

javaÏÂÈçºÎ½øÐмÆʱ£¿

long startTime=System.currentTimeMillis();
// do something
long endTime=System.currentTimeMillis();
long spentTime=(endTime-startTime)/1000;

Èç¹ûÎÒÔÚ"do somethings"ÖÐÐÞ¸ÄÁËϵͳʱ¼ä£¬½ÓÏÂÀ´ÓÖÈçºÎ¼Æʱ£¬»ñÈ¡ÕýÈ·µÄspentTime¡£

Ëƺõ¿ÉÒÔͨ¹ý»ñÈ¡CPUÔËÐеÄʱ¼äÀ´½øÐУ¬µ«ÊÇÈ ......
×ܼǼÊý:2680; ×ÜÒ³Êý:447; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [435] [436] [437] [438] 439 [440] [441] [442] [443] [444]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ