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

Thinking in Javaѧϰ±Ê¼Ç£¨¶þ£©

ÎÒ¸öÈËÀí½â³õʼ»¯ºÍÇåÀíµÄ¹Øϵ¾ÍÊdzԷ¹ºÍÉϲÞËù£¬ÕýÊÇÓÐÁ˳õʼ»¯µÄ¶ÔÏó£¬ÎÒÃDzÅÄÜʹÓÃÇåÀí¡£µ«ÊÇΪʲôҪÇåÀíÄØ£¿ÏëÏóÒ»ÏÂÒ»¸öÈ˹â³Ô²»À­£¬ÊǸöʲôÇé¿ö£¿£º£©ÄѵÀÎÒÃǵijÌÐòÒ²ÒªÏñ³Ô·¹Ò»Ñù¹â²úÉú¶ÔÏ󣬶ø²»È¥ÇåÀíʹÓÃÍê±ÏµÄ¶ÔÏó£¿ÈÎÓÉÎÒÃǵĶÔÏó¶Ñ»ýÈçɽ£¬Õ¼ÓÃϵͳ×ÊÔ´£¿
   ÒÔ¹¹Ô캯ÊýÈ·±£³õʼ»¯µÄ½øÐÐ
      Ê²Ã´¹¹Ô캯Êý£¿¹¹Ô캯Êý¾ÍÊÇÒ»ÖÖÌØÊâµÄº¯Êý£¬µ±¶ÔÏó²úÉúʱ£¬Ëû»á±»ÏµÍ³×Ô¶¯µÄµ÷ÓÃÆðÀ´£¬²¢ÇÒÕâ¸öº¯ÊýÃû³ÆºÍclassÃûÏàͬ¡£
      class ConstructorTest
      {
       ConstructorTest()//¹¹Ô캯ÊýÊÇûÓзµ»ØÖµµÄ£¬×¢Òâ²»ÊÇvoidµÄ£¡
       {
        System.out.println("nothing!");
       }
       ConstructorTest(String s)
       {
        System.out.println(s);
       }
       public static void main(String args[])
       {
        new ConstructorTest();//µ±¶ÔÏóÉú³ÉµÄʱºò£¬ÏµÍ³»á×Ô¶¯µÄµ÷ÓÃËûµÄ¹¹Ô캯Êý
        new ConstructorTest("hello"); //²¢ÇÒ¹¹Ô캯Êý»¹¿ÉÒÔ½ÓÊÜÒýÊý£¬²úÉúÄãËùÏ£ÍûµÄÌض¨µÄ¶ÔÏó¡£¼ÙÈçConstructorTest(String s)ÊÇΨһµÄ¹¹Ô캯Êý£¬ÄÇô±àÒëÆ÷²»ÔÊÐíÄãÒÔÈκÎÆäËûµÄ·½Ê½¿ª²úÉú¶ÔÏó
       }
      }
      ÓеÄÈË¿´µ½ÕâÀï¾ÍÊÇÒªÎÊÁË£¬ÎªÊ²Ã´ÎҵijÌÐò¾Í¸ù±¾Ã»Óж¨Òå¹ý¹¹Ô캯Êý£¬µ«ÊÇÎÒΪʲôÔÚ´´½¨¶ÔÏóµÄʱºòÒÀÈ»¿ÉÒÔʹÓÃËûÄØ£¿
      ÀýÈç
     class test
      {
       public static void main(String args[])
       {
    &nbs


Ïà¹ØÎĵµ£º

Java»ù´¡—»ù±¾¸ÅÄî

·½·¨ÖØÔØ(overloading method)
       ·½·¨ÖØÔØÊÇÈÃÀàÒÔͳһµÄ·½Ê½´¦Àí²»Í¬ÀàÐÍÊý¾ÝµÄÒ»ÖÖÊֶΡ£JavaµÄ·½·¨ÖØÔØ£¬¾ÍÊÇÔÚÀàÖпÉÒÔ´´½¨¶à¸ö·½·¨£¬ËüÃǾßÓÐÏàͬµÄÃû×Ö£¬µ«¾ßÓв»Í¬µÄ²ÎÊýºÍ²»Í¬µÄ¶¨Òå¡£µ÷Ó÷½·¨Ê±Í¨¹ý´«µÝ¸øËüÃǵIJ»Í¬¸öÊýºÍÀàÐ͵IJÎÊýÀ´¾ö¶¨¾ßÌåʹÓÃÄĸö·½·¨, Õâ¾ÍÊǶà̬ÐÔ¡£ ......

JAVAѧϰ²½Öè

Ò»¡¢CORE JAVA
ÄÚÈÝ£º
JavaµÄÃæÏò¶ÔÏóµÄ±à³ÌÓïÑÔµÄÌØÐԵĵط½, ±ÈÈç¼Ì³Ð£¬¹¹ÔìÆ÷£¬³éÏóÀ࣬½Ó¿Ú£¬·½·¨µÄ¶à̬£¬ÖØÔØ£¬¸²¸Ç£¬À¬»ø»ØÊÕ£¬JavaµÄÒì³£´¦Àí»úÖÆ£¬ÎļþÁ÷I/O£¬OOP£¬OODµÈÃæÏò¶ÔÏóÉè¼Æ¡£
×ÊÁÏ£º
¡¶Thinking in Java¡·Sun ¹«Ë¾µÄ¡¶Tutorial¡·
¶þ¡¢»ùÓÚJDKµÄjava»ù´¡Àà¿â
ÄÚÈÝ£º
×îºËÐĵÄÖ»ÓÐ4¸ö£º
ja ......

javaÓë´æ´¢¹ý³Ì

Ò»£ºÎÞ·µ»ØÖµµÄ´æ´¢¹ý³Ì
´æ´¢¹ý³ÌΪ£º
CREATE OR REPLACE PROCEDURE TESTA(PARA1 IN VARCHAR2,PARA2 IN VARCHAR2) AS
BEGIN
   INSERT INTO HYQ.B_ID (I_ID,I_NAME) VALUES (PARA1, PARA2);
END TESTA;
È»ºóÄØ£¬ÔÚjavaÀïµ÷ÓÃʱ¾ÍÓÃÏÂÃæµÄ´úÂ룺
package com.hyq.src;
import java.sql.*;
import j ......

[android dev] How to create Menu @ JAVA & XML

to create Menu @ JAVA & XML ....
first, to tell you how to do. just to fill the following Method provided by Activity.
public boolean onCreateOptionsMenu(Menu menu)
public boolean onOptionsItemSelected(MenuItem item)
public boolean onPrepareOptionsMenu(Menu menu)
3 method above is simple to ......

JavaÊý×éÓëÈÝÆ÷Àà·ÖÎö×ÊÁÏ Êý×é¡¢ListºÍSet¡¢MapµÈ

Êý×éÊÇJavaÓïÑÔÄÚÖõÄÀàÐÍ£¬³ý´ËÖ®Í⣬JavaÓжàÖÖ±£´æ¶ÔÏóÒýÓõķ½Ê½¡£JavaÀà¿âÌṩÁËÒ»Ì×Ï൱ÍêÕûµÄÈÝÆ÷À࣬ʹÓÃÕâЩÀàµÄ·½·¨¿ÉÒÔ±£´æºÍ²Ù×ݶÔÏó¡£ÏÂÃæ·Ö±ð½øÐÐÌÖÂÛ£¬ÔÚÑо¿JavaÈÝÆ÷Àà֮ǰ£¬ÏÈÁ˽âÒ»ÏÂJavaÊý×éµÄ»ù±¾¹¦ÄܺÍÌØÐÔ¡£
1. Êý×éµÄ»ù±¾ÌØÐÔ
Êý×éÓëÆäËüÖÖÀàµÄÈÝÆ÷(List/Set/Map)Ö®¼äµÄÇø±ðÔÚÓÚЧÂÊ¡¢È ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ