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

Java¿ÆÑ§ÓëÒÕÊõ

  ÒòΪ´óËÄÁ˾ÍÒª¶ÁÑÐÁË£¬±¾¿ÆÆÚ¼ä×ö¹ýµÄСÏîÄ¿´ó¶¼ÊÇ»ùÓÚ.NetµÄ£¬ËüÌṩÁËÌ«ÓÅÔ½µÄ¿ª·¢»·¾³£¬µ¼ÖÂ×ÔÉíˮƽÌá¸ßÓÐÏÞ¡£
  ¿ìÒª¶ÁÑÐÁË£¬¾ÝÁ˽âÑо¿ÉúÆÚ¼ä£¬Ö÷Òª¶¼ÊÇJ2EEµÄÏîÄ¿£¬ËùÒÔ×¼±¸ÖØÐÂ×ÔѧJava£¬²¢³¢ÊÔ»ùÓÚJ2EE×öµã¶«Î÷¡£
  Ê×ÏȽèÁ˱¾JavaµÄÊ飬×Ô¼ºÒ²ÓÐJavaµÄÊ飬²»¹ý×Ô¼º¸Ð¾õ¸üÔ¸Òâ¿´Íâ¹úµÄÊ飬ÒòΪÍâ¹úµÄÊé×÷Õßд×÷·ç¸ñ²»Í¬£¬¶ÁÆðÀ´±È½ÏÇáËÉ¡£¶øÇÒ²»½öÄܹ»Ñ§Ï°µ½ÀíÂÛ֪ʶ£¬»¹±È½Ï×¢ÖØÊµ¼ù¡£
  ËùÒÔÎÒÕÒÁ˱¾¡¶Java¿ÆÑ§ÓëÒÕÊõ¡·£¬ÕâÊéÊǹúÍâ¾­µä¼ÆËã»ú½Ì²ÄϵÁеģ¬ÎÒ¶ÔÕâ¸öϵÁеÄÊéÆÀ¼Û¶¼ºÜ¸ß£»ÁíÍâÕâ±¾ÊéºÜУ¬ÄÚÈÝҲУ¬ÊéҲС£
  ÓÚÊÇÎҾͰÑËü½Ó»ØÈ¥ÔÙ˵£¡
  »ØÈ¥ÁË¿´Á˺󣬷¢ÏÖÕâÊéµÄʵÀý¶¼ÊÇ»ùÓÚJavaTaskForce£¨Java¹¤×÷×飩±àдµÄACM¿âдµÄ£¬ÄÚÈÝÊǺܺ㬲»¹ý¿ÉÄܲ»¾ßÓкܺõÄͨÓÃÐÔ¡£ÎÒÄØ£¬Ò²Ã»ÓÐÄÇô¶àʱ¼ä£¬Ñ§ÁËÕâ±¾ÔÙÕÒÒ»±¾Í¨ÓõÄѧ£¬ÓÚÊÇÖ»ºÃ°ÑÕâ±¾Ê黹ÁË¡£
  Õë¶ÔÕâ±¾Ê飬ûѧϰµ½Ê²Ã´……


Ïà¹ØÎĵµ£º

Java֮staticѧϰ

¶ÔÓÚѧϰstaticÎÒÃÇÏÈÀ´¿´Á½¸öÀý×Ó£º
//Example 1 Tst.java£¬no main() method
package com.blogchina.qb2049;
public class Tst
{
static { System.out.println("111111"); }
}
ÔËÐнá¹ûΪ: 111111
Exception in thread "main" java.lang.NoSuchMethodError: main
ͬÑùµÄµÀÀí¿´µÚ¶þ ......

JavaÐéÄâ»ú ºÍ javaÐéÄâ»úϵĽø³Ì

Ò»¡¢Ê²Ã´ÊÇJavaÐéÄâ»ú
     µ±Äã̸µ½JavaÐéÄâ»úʱ£¬Äã¿ÉÄÜÊÇÖ¸£º
     1¡¢³éÏóµÄJavaÐéÄâ»ú¹æ·¶
     2¡¢Ò»¸ö¾ßÌåµÄJavaÐéÄâ»úʵÏÖ
     3¡¢Ò»¸öÔËÐеÄJavaÐéÄâ»úʵÀý
¶þ¡¢JavaÐéÄâ»úµÄÉúÃüÖÜÆÚ
     Ò»¸öÔËÐÐ ......

Serializable javaÐòÁл¯

Bean Serializable Interface µÄ½Ó¿ÚÈÃBEAN¿ÉÒÔ´®Ðл¯£¬½«Æä±ä³ÉÒ»¸ö¿É±£´æÎªÒÔºóʹÓõĶþ½øÖÆÁ÷¡£µ±Ò»¸öBEAN±»ÏµÁл¯µ½´ÅÅÌÉÏ»òÕ߯äËûÈκεط½£¬Æä״̬±»±£´æÆðÀ´£¬ÆäÖеÄÊôÐÔÖµÒ²²»»á¸Ä±ä¡£ÔÚBEANµÄ¹æ·¶ÖУ¬JSP²¢Ã»ÓÐÒªÇóBEANʵÏÖSerializable½Ó¿Ú¡£µ«ÊÇ£¬Èç¹ûÄúÏ£Íû×Ô¼º¿ØÖÆÄúËù´´½¨µÄ×é¼þµÄserialization½ø³Ì£¬»òÕßÄúÏë ......

¹ØÓÚjavaÖбäÁ¿µÄ³õʼ»¯µÄÎÊÌâ

 Ê×ÏÈһЩ±»³õʼ»¯¶ÔÏóµÄ¸ÅÄ
Àà±äÁ¿£¨Àྲ̬³ÉÔ±£©£º Àà±»¼ÓÔØÊ±²úÉú£»ËüµÄÉú´æÆÚÊÇÀàµÄÉú´æÆÚ£»×Ô¶¯³õʼ»¯£¨Àà±»¼ÓÔØ£©
³ÉÔ±±äÁ¿£¨Àà³ÉÔ±£©£º  ÔÚʹÓÃnew´´½¨¸ÃÀàʵÀýʱ²úÉú£»ËüµÄÉú´æÆÚÓë¸ÃÀàʵÀý¶ÔÏóµÄÉú´æÆÚÏàͬ£»
×Ô¶¯³õʼ»¯£¨¹¹Ôì·½·¨±»µ÷Óã©
¾Ö²¿±äÁ¿£¨ÀàµÄ·½·¨ÖеıäÁ¿£©£º  ¸Ã·½·¨±»µ÷ÓÃÊ ......

JavaµÄ×¢Ê͹淶ÕûÀí

Ò»¡¢±³¾°
1¡¢µ±ÎÒÃǵÚÒ»´Î½Ó´¥Ä³¶Î´úÂ룬µ«ÓÖ±»ÒªÇóÔÚ¼«¶ÌµÄʱ¼äÄÚÓÐЧµØ·ÖÎöÕâ¶Î´úÂ룬ÎÒÃÇÐèҪʲôÑùµÄ×¢ÊÍÐÅÏ¢£¿
2¡¢ÔõôÑù±ÜÃâÎÒÃǵÄ×¢ÊÍÈß³¤¶øÇÒÁèÂÒ²»¿°ÄØ£¿
3¡¢ÔÚ¶àÈËЭͬ¿ª·¢¡¢Î¬»¤µÄ½ñÌ죬ÎÒÃÇÐèÒªÔõôÑùµÄ×¢ÊÍÀ´±£Ö¤¸ßÖÊ¡¢¸ß½»µÄ½øÐпª·¢ºÍά»¤¹¤×÷ÄØ£¿
¶þ¡¢ÒâÒå
³ÌÐòÖеÄ×¢ÊÍÊdzÌÐòÉè¼ÆÕßÓë³ÌÐòÔĶÁÕß ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ