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

java½Ó¿ÚÓë³éÏóÀàµÄÇø±ð

Ò»¸öÈí¼þÉè¼ÆµÄºÃ»µ£¬ÎÒÏëºÜ´ó³Ì¶ÈÉÏÈ¡¾öÓÚËüµÄÕûÌå¼Ü¹¹£¬¶øÕâ¸öÕûÌå¼Ü¹¹Æäʵ¾ÍÊÇÄã¶ÔÕû¸öºê¹ÛÉÌÒµÒµÎñµÄ³éÏó¿ò¼Ü£¬µ±´ú±íÒµÎñÂß¼­µÄ¸ß²ã³éÏó²ã½á¹¹ ºÏÀíʱ£¬Äãµ×²ãµÄ¾ßÌåʵÏÖÐèÒª¿¼Âǵľͽö½öÊÇһЩËã·¨ºÍһЩ¾ßÌåµÄÒµÎñʵÏÖÁË¡£µ±ÄãÐèÒªÔÙ¿ª·¢ÁíÒ»¸öÏà½üµÄÏîĿʱ£¬ÄãÒÔÇ°µÄ³éÏó²ã˵²»¶¨»¹¿ÉÒÔÔÙ´ÎÀûÓà ÄØ£¬Ãæ¶Ô¶ÔÏóµÄÉè¼Æ£¬¸´ÓõÄÖصãÆäʵӦ¸ÃÊdzéÏó²ãµÄ¸´Ó㬶ø²»ÊǾßÌåijһ¸ö´úÂë¿éµÄ¸´Óã¬ÊDz»ÊÇÒ»ÏÂ×Ӹоõ×Ô¼º¶Ô¸´ÓÃÀí½âµÄ¸ß¶ÈÓÖÉÏÉýÁËÒ»²ã£¿^_^
˵µ½Á˳éÏó£¬ÎҾͲ»Äܲ»Ìáµ½ÔøÈÃÎÒÍ·Í´µÄJava½Ó¿ÚºÍJava³éÏóÀàÁË£¬ÕâÒ²ÊDZ¾ÎÄÎÒÏë˵µÄÖص㡣
¼ÈÈ»ÃæÏò¶ÔÏóÉè¼ÆµÄÖصãÔÚÓÚ³éÏó£¬ÄÇJava½Ó¿ÚºÍJava³éÏóÀà¾ÍÓÐËü´æÔڵıØÈ»ÐÔÁË¡£
Java½Ó¿ÚºÍJava³éÏóÀà´ú±íµÄ¾ÍÊdzéÏóÀàÐÍ£¬¾ÍÊÇÎÒÃÇÐèÒªÌá³öµÄ³éÏó²ãµÄ¾ßÌå±íÏÖ¡£OOPÃæÏò¶ÔÏóµÄ±à³Ì£¬Èç¹ûÒªÌá¸ß³ÌÐòµÄ¸´ÓÃÂÊ£¬Ôö¼Ó³ÌÐò µÄ¿Éά»¤ÐÔ£¬¿ÉÀ©Õ¹ÐÔ£¬¾Í±ØÐëÊÇÃæÏò½Ó¿ÚµÄ±à³Ì£¬ÃæÏò³éÏóµÄ±à³Ì£¬ÕýÈ·µØʹÓýӿڡ¢³éÏóÀàÕâЩ̫ÓÐÓõijéÏóÀàÐÍ×öΪÄã½á¹¹²ã´ÎÉϵĶ¥²ã¡£
Java½Ó¿ÚºÍJava³éÏóÀàÓÐÌ«¶àÏàËƵĵط½£¬ÓÖÓÐÌ«¶àÌرðµÄµØ·½£¬¾¿¾¹ÔÚʲôµØ·½£¬²ÅÊÇËüÃǵÄ×î¼ÑλÖÃÄØ£¿°ÑËüÃDZȽÏһϣ¬Äã¾Í¿ÉÒÔ·¢ÏÖÁË¡£
1¡¢Java½Ó¿ÚºÍJava³éÏóÀà×î´óµÄÒ»¸öÇø±ð£¬¾ÍÔÚÓÚJava³éÏóÀà¿ÉÒÔÌṩijЩ·½·¨µÄ²¿·ÖʵÏÖ£¬¶øJava½Ó¿Ú²»¿ÉÒÔ£¬Õâ´ó¸Å¾ÍÊÇJava³éÏóÀàΨһµÄÓŵã°É£¬µ«Õâ¸öÓŵã·Ç³£ÓÐÓá£
Èç ¹ûÏòÒ»¸ö³éÏóÀàÀï¼ÓÈëÒ»¸öеľßÌå·½·¨Ê±£¬ÄÇôËüËùÓеÄ×ÓÀ඼һÏÂ×Ó¶¼µÃµ½ÁËÕâ¸öз½·¨£¬¶øJava½Ó¿Ú×ö²»µ½ÕâÒ»µã£¬Èç¹ûÏòÒ»¸öJava½Ó¿ÚÀï¼ÓÈëÒ»¸ö з½·¨£¬ËùÓÐʵÏÖÕâ¸ö½Ó¿ÚµÄÀà¾ÍÎÞ·¨³É¹¦Í¨¹ý±àÒëÁË£¬ÒòΪÄã±ØÐëÈÃÿһ¸öÀ඼ÔÙʵÏÖÕâ¸ö·½·¨²ÅÐУ¬ÕâÏÔÈ»ÊÇJava½Ó¿ÚµÄȱµã¡£
2¡¢Ò»¸ö³éÏóÀàµÄʵÏÖÖ»ÄÜÓÉÕâ¸ö³éÏóÀàµÄ×ÓÀà¸ø³ö£¬Ò²¾ÍÊÇ˵£¬Õâ¸öʵÏÖ´¦ÔÚ³éÏóÀàËù¶¨Òå³öµÄ¼Ì³ÐµÄµÈ¼¶½á¹¹ÖУ¬¶øÓÉÓÚJavaÓïÑԵĵ¥¼Ì³ÐÐÔ£¬ËùÒÔ³éÏóÀà×÷ΪÀàÐͶ¨Ò幤¾ßµÄЧÄÜ´ó´òÕÛ¿Û¡£
ÔÚÕâÒ»µãÉÏ£¬Java½Ó¿ÚµÄÓÅÊƾͳöÀ´ÁË£¬ÈκÎÒ»¸öʵÏÖÁËÒ»¸öJava½Ó¿ÚËù¹æ¶¨µÄ·½·¨µÄÀ඼¿ÉÒÔ¾ßÓÐÕâ¸ö½Ó¿ÚµÄÀàÐÍ£¬¶øÒ»¸öÀà¿ÉÒÔʵÏÖÈÎÒâ¶à¸öJava½Ó¿Ú£¬´Ó¶øÕâ¸öÀà¾ÍÓÐÁ˶àÖÖÀàÐÍ¡£
3¡¢´ÓµÚ2µã²»ÄÑ¿´³ö£¬Java½Ó¿ÚÊǶ¨Òå»ìºÏÀàÐ͵ÄÀíÏ빤¾ß£¬»ìºÏÀà±íÃ÷Ò»¸öÀ಻½ö½ö¾ßÓÐij¸öÖ÷ÀàÐ͵ÄÐÐΪ£¬¶øÇÒ¾ßÓÐÆäËûµÄ´ÎÒªÐÐΪ¡£
4¡¢½áºÏ1¡¢2µãÖгéÏóÀàºÍJava½Ó¿ÚµÄ¸÷×ÔÓÅÊÆ£¬¾ß¾«µäµÄÉè¼Æģʽ¾Í³öÀ´ÁË£ºÉùÃ÷ÀàÐ͵Ť×÷ÈÔÈ»ÓÉJava½Ó¿Ú³Ðµ££¬µ«ÊÇͬʱ¸ø³öÒ»¸öJava ³éÏóÀ࣬ÇÒʵÏÖÁËÕâ¸ö½Ó¿


Ïà¹ØÎĵµ£º

JavaÂÛ̳ÊÕ¼¯

×îÇ¿ÁÒÍƼö£­ÎÒµÄjavaÊղؼУ¨ÄÚÓйúÄÚ×îºÃµÄjavaÂÛ̳£©
www.chinajavaworld.com -ÂÛ̳È˺ܶ࣬¸ßÊÖÒ²¶à£¬²»¹ýºÃÏñ¶¼ÔÚDZˮ  
www.cn-java.com -Ò²ºÜ²»´í£¬ÎÄÕºܺ㬵«ÊǾÍÊÇÉÌÒµÐÔŨÁ˵㡣  
www.chinaitlab.com-·Ç³£ÓÐϵͳÐÔ£¬¶øÇÒÍƳöµÄjavaÔ¶³Ì½ÌÓýÊÇÖйú×îÈ«ÃæµÄscjpÔ¶³Ì½ÌÓý¡£ www.huihoo. ......

JAVaÃæÊÔÌâ1

Java»ù´¡·½Ãæ: 
1¡¢×÷ÓÃÓòpublic,private,protected,ÒÔ¼°²»Ð´Ê±µÄÇø±ð
´ð£ºÇø±ðÈçÏ£º
×÷ÓÃÓò           µ±Ç°Àà       Í¬Ò»package  ×ÓËïÀà       ÆäËûpackage
public& ......

JavaµÄµ¥ÀýģʽÀý×Ó

1. ÏÈдһ¸öSingletonµÄclass
package stone;
public class Singleton {
    private static Singleton instance;
    private Singleton() {}
    public static Singleton getInstance(){
        if(instance==null)
  &n ......

java script »ñµÃLabel¿Ø¼þÄÚÈÝ

 var ProjectName = document.getElementById("<%=ProjectName.ClientID%>").innerText;
       ProjectName = ProjectName.replace(/(^\s*)|(\s*$)/g, ""); // Ï൱ÓÚTrim()º¯Êý ......

JavaÖеÄbyte


×î½üÒòΪÔÚ×ö½ðÈÚÏîÄ¿£¬ÀïÃæ¶ÔbyteµÄ²Ù×÷ÒªÇó±È½Ï¶à£¬ËùÒÔÔÚÕâÀïÕûÀíÁËһϹØÓÚJavaÖеÄbyteÀàÐÍ¡£
JavaÐéÄâ»úÖÐûÓÐbyteÀàÐÍ
¶÷¡£¡£¡£Ôõô˵ÄØ£¬¸öÈ˸оõÕâ¸ö˵·¨Óеã¶ù»£È˵ÄÒâ˼¡£µÄÈ·£¬µ±Õâ¸öÏë·¨¸Õ¸Õ³öÏÖÔÚÎÒµÄÄÔº£ÖеÄʱºòÎÒ¾õµÃÒ²ÓÐЩºú³¶£¬±Ï¾¹byteÀàÐ;ÍÔÚÄÇÀÔõôÄÜ˵JavaÐéÄâ»úÖÐûÓÐbyteÀàÐÍÄØ£¿
ºÃ°É£¬ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ