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

javaÖеĶÔÏó¸³ÖµÎÊÌâ

ÔÚjavaÖР ¿ÉÒÔ½«Ä³¸ö¶ÔÏó¸³Öµ¸øÁíÒ»¸ö¶ÔÏó  Ö»Òª¸ÃÁ½¸ö¶ÔÏóÊÇÊôÓÚͬһ¸öÀ༴¿É  ´Ëʱ  ÕâÁ½¸ö¶ÔÏóµÄËùÓгÉÔ±½«Ö¸Ïòͬһ¿éÄÚ´æ
eg£º
      public class class1
         {
                public static void main(String args[])
                       {
                               book aa=new book();
                               aa.setBookName("SQL Server2000");
                              
                               book bb=new book();
                               bb.setBookName("Oracel 10g");
                               aa=bb;
                               System.out.println(aa.getBookName());
          


Ïà¹ØÎĵµ£º

java¶ÔÏóÐòÁл¯

¶ÔÏóÐòÁл¯
ËüÃæÏòÄÇЩʵÏÖÁËSerializable½Ó¿ÚµÄ¶ÔÏ󣬿ɽ«ËüÃÇת»»³ÉһϵÁеÄ×Ö½Ú£¬²¢¿ÉÒÔÔÚÒÔºóÍêÈ«»Ö¸´³ÉÔ­À´µÄÑù×Ó¡£
ÐòÁл¯»úÖÆ¿ÉÒÔ×Ô¶¯²¹³¥²Ù×÷ϵͳ֮¼äµÄ²î±ð¡£WindowsÉϵĶÔÏó¿ÉÒÔͨ¹ýÍøÂç·¢Ë͸ølinux»úÆ÷£¬ÔÚÄ¿µÄ»úÉÏ¿ÉÒÔ׼ȷÎÞÎóµÄÖØÐÂ×°Åä¡£
 Í¨¹ýÐòÁл¯ÕâÒ»¶ÔÏ󣬽«Æä´æ´¢ÔÚÓ²ÅÌÖУ¬ÒÔºóÔÚ³ÌÐòÖØÐµ÷Óà ......

¸÷ÖÖJAVA¿ª·¢¿ò¼Ü


 
¡¡¡¡¡¾IT168 Îĵµ¡¿Spring Framework ¡¾Java¿ªÔ´JEE¿ò¼Ü¡¿
¡¡¡¡SpringÊÇÒ»¸ö½â¾öÁËÐí¶àÔÚJ2EE¿ª·¢Öг£¼ûµÄÎÊÌâµÄÇ¿´ó¿ò¼Ü¡£ SpringÌṩÁ˹ÜÀíÒµÎñ¶ÔÏóµÄÒ»Ö·½·¨²¢ÇÒ¹ÄÀøÁË×¢Èë¶Ô½Ó¿Ú±à³Ì¶ø²»ÊǶÔÀà±à³ÌµÄÁ¼ºÃϰ¹ß¡£SpringµÄ¼Ü¹¹»ù´¡ÊÇ»ùÓÚʹÓÃJavaBeanÊôÐÔµÄInversion of ControlÈÝÆ÷¡£È»¶ø£¬Õâ½ö½öÊÇÍêÕûͼ¾°Ö ......

Java¹Ø¼ü×Öfinal¡¢staticʹÓÃ×ܽá

³£¿´ºÜ¶àÈëÃÅÄñÃÇÔÚfinal ºÍstaticÔËÓÃÉϸе½ÃÔ㣬ÏÖ×ܽáÒ»ÏÂfinalºÍstaticµÄÔËÓ÷½·¨£¬Ï£Íû¶Ô´ó¼ÒÓаïÖú¡£
£¨ÎÒÒ²ÊDzËÄñ£©
Ò»¡¢final
¸ù¾Ý³ÌÐòÉÏÏÂÎÄ»·¾³£¬Java¹Ø¼ü×ÖfinalÓГÎÞ·¨¸Ä±ä”»òÕß“ÖÕ̬”µÄº¬Ò壬Ëü¿ÉÒÔÐÞÊηdzéÏóÀà¡¢·Ç³éÏóÀà³ÉÔ±·½·¨ºÍ±äÁ¿¡£
finalÀ಻Äܱ»¼Ì³Ð£¬Ã»ÓÐ×ÓÀ࣬final ......

JAVAµÃµ½Íø¿¨ÎïÀíµØÖ·(windowsºÍLinux)

ÔÚÎÒÃÇÔÚд³ÌÐòµÄ¹ý³ÌÖÐ,ÓÐЩʱºòÐèÒªÖªµÀһЩµçÄÔµÄÓ²¼þÐÅÏ¢,±ÈÈçÎÒÃÇдһЩÐèҪע²áµÄ³ÌÐòµÄʱºò,¾ÍÐèÒªµÃµ½Ä³¸öµçÄÔÌØ¶¨µÄÐÅÏ¢,Ò»°ãÀ´Ëµ,Íø¿¨µÄÎïÀíµØÖ·ÊDz»»áÖØ¸´µÄ,ÎÒÃÇÕýºÃ¿ÉÒÔÓÃËüÀ´×öΪÎÒÃÇʶ±ðһ̨µçÄԵıêÖ¾.ÄÇÈçºÎµÃµ½Íø¿¨µÄÎïÀíµØÖ·ÄØ?ÎÒÃÇ¿ÉÒÔ½èÖúÓÚProcessBuilderÕâ¸öÀà,Õâ¸öÀàÊÇJDK1.5мӵÄ,ÒÔǰҲ¿ÉÒÔÓÃRu ......

java ¶ÁдÎļþ£¨I/O£©

Ò»¡¢¶àÖÖ·½Ê½¶ÁÎļþÄÚÈÝ¡£
1¡¢°´×Ö½Ú¶ÁÈ¡ÎļþÄÚÈÝ
2¡¢°´×Ö·û¶ÁÈ¡ÎļþÄÚÈÝ
3¡¢°´ÐжÁÈ¡ÎļþÄÚÈÝ
4¡¢Ëæ»ú¶ÁÈ¡ÎļþÄÚÈÝ
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
imp ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ