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

Îå¡¢javaµÄÃæÏò¶ÔÏó³ÌÐòÉè¼Æ(ÀàºÍ¶ÔÏó)

Îå¡¢javaµÄÃæÏò¶ÔÏó³ÌÐòÉè¼Æ(ÀàºÍ¶ÔÏó)
/**
 * ÃæÏò¶ÔÏóÖ®Ò»
 * ÀàÓë¶ÔÏó
 */
/**
 * ¶ÔÏóµÄʵÀý»¯¹ý³Ì:
 * 1,javaÖÐËùÓÐÀàÐÍÔÚÄÚ´æµÄ·ÖÅäÇé¿ö
 * a,»ù±¾ÀàÐÍ"±äÁ¿"char,byte,short,int,long,float,double,boolean´æ´¢ÔÚ¶ÑÕ»ÖÐ
 *   ¶ÑÕ»ÊÇͨ¹ý¶ÑÕ»Ö¸Õë°´ÕÕÏȽøÏȳöµÄ¶ÁÈ¡·½Ê½´æ´¢Êý¾Ý,´æÈ¡Ëٶȿì.
 *   ¶ÑջλÓÚRAM(Ëæ»ú·ÃÎÊ´æ´¢Æ÷,¿É¶Á¿Éд)
 * b,"³£Á¿"(Ö÷Ҫָͨ¹ýfinal static¹Ø¼ü×Ö¶¨ÒåµÄ³£Á¿)´æ´¢ÔÚROM(Ö»¶Á´æ´¢Æ÷)ÖÐ
 * c,"¶ÔÏó"´æ´¢ÔÚ¶ÑÖÐ
 *   ¶Ñ°´ÕÕÏȽøºó³öµÄ´æ´¢·½Ê½´æ´¢Êý¾Ý,´æ´¢ËٶȽÏÂý.¶ÑͬÑùλÓÚRAM.
 * d,"ÒýÓÃ"´æ´¢ÔÚ¶ÑÕ»ÖÐ,´æ´¢µÄÊǶÔÏóµÄÊ×µØÖ·,²¢Í¨¹ýµØÖ·Ö¸ÕëÖ¸ÏòλÓÚ¶ÑÖеĶÔÏó.
 *
 * 2,¶ÔÏóµÄʵÀý»¯¹ý³Ì
 * ´´½¨Ò»¸öÀàµÄÒýÓÃʱ,ÈçPerson p1Õâʱ½«ÔÚ¶ÑÕ»Öд´½¨Ò»¸öÒýÓÃp1,
 * µ±p1 = new Person()ʱ,ÔÚ¶ÑÖд´½¨ÁËÒ»¸öPersonÀàÐ͵ĶÔÏó,²¢ÇÒ½«¸Ã¶ÔÏóÔÚ¶ÑÖеÄÊ×µØÖ·¸³Öµ¸øp1Õâ¸öÒýÓÃ.
 *
 * 3,ÒýÓõıȽÏ
 * ÎÒÃÇ´´½¨Á½¸ö¶ÔÏó:
 * Person p1 = new Person(); Person p2 = new Person();
 * Õâʱ,¶ÑÄÚ´æÖдæ·ÅÁËÁ½¸öPersonÀàÐ͵ĶÔÏó,ÕâÁ½¸ö¶ÔÏóµÄÊ×µØÖ·²»Ïàͬ,
 * ËùÒÔ,µÚÒ»¸ö¶ÔÏóµÄÒýÓÃp1ºÍµÚ¶þ¸ö¶ÔÏóµÄÒýÓÃp2(p1,p2´æ´¢×ŶÔÏóµÄÊ×µØÖ·)µÄÖµ²»Ïàͬ.
 *
 * 4,¶ÔÏóºÍÒýÓõÄÉúÃüÖÜÆÚ:
 * ´óÌåÀ´Ëµ,´´½¨¶ÔÏóµÄÒýÓúʹ´½¨Ò»¸ö±äÁ¿Ò»Ñù,¶¼ÊÇ·ÖÅäÔÚ¶ÑÕ»ÖеÄ,
 * ÔÚ·½·¨ÖÐÎÒÃÇ°´ÕÕÏȺó˳Ðò¶¨ÒåµÄ±äÁ¿ºÍÒýÓÃ,½«Ôڸ÷½·¨½áÊøºó,ͬÑù°´ÕÕÏȶ¨ÒåÏÈÊͷŵķ½Ê½½áÊøÆäÉúÃüÖÜÆÚ.
 * µ«ÊǶÔÓÚÒ»¸öÒýÓÃ,ÓÉÓÚ´æ·ÅµÄÊǶÑÖжÔÏóµÄÊ×µØÖ·,ËùÒÔ,ÔÚ·½·¨Öе±ÎÒÃǽ«null¸³Öµ¸øÕâ¸öÒýÓÃʱ,ÀýÈçp1 = null,ͬÑù¿ÉÒÔÌáÇ°½áÊøp1µÄÉúÃüÖÜÆÚ.
 * µ±p1 = nullºó,½áÊøµÄÊÇÒýÓõÄÉúÃü,µ«ÊǶÑÖеĶÔÏó²¢Ã»ÓнáÊø,¶øÕâ¸ö¶ÔÏ󽫵ȴýjavaµÄÀ¬»ø»ØÊÕÆ÷,ÔÚÒ»¸öÌØÊâµÄʱ¼ä½«ÆäÇå³ý.
 */
class Person
{
 private int age;
 public void setAge(int age)
 {
  this.age = age;
 }
 public void shout()
 {
  int age = 23;//·½·¨Öж¨ÒåµÄ¾Ö²¿±äÁ¿»á¸²¸ÇÀàÖж¨ÒåµÄͬÃûµÄ³ÉÔ±±äÁ¿;
  /*
  {
   int age = 30;//´íÎó,javaÖв»ÔÊÐíÔÚ·½·¨Öж¨ÒåÓëÈ«¾Ö±äÁ¿Í¬ÃûµÄ¾Ö


Ïà¹ØÎĵµ£º

javaÈëÃÅ

 Javaѧϰ´ÓÈëÃŵ½¾«Í¨ 
Ò»¡¢ JDK (Java Development Kit) 
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......

javaʹÓÃrocksawºÍvserv tcpipʵÏÖ»ùÓÚICMPµÄPing¹¦ÄÜ

Ò»£º×¼±¸ www.savarese.org download
 1.  rocksaw-1.0.0-src.tar.gz
 2.  vserv-tcpip-0.9.2-src.tar.gz
¶þ£º±àÒëÔ´ÎļþµÃµ½jar°ü ʹÓÃAnt
 1.  build vserv-tcpip-0.9.2-src
      ÔÚvserv-tcpip-0.9.2Ŀ¼ÏÂÃ潨һ¸ötestsĿ¼£¬È»ºóÔÚcmd´°¿ÚϽøÈë ......

³ÉΪJava¸ßÊÖµÄ25¸öѧϰĿ±ê

±¾ÎĽ«¸æËßÄãѧϰJavaÐèÒª´ïµ½µÄ25¸öÄ¿±ê£¬Ï£ÍûÄܹ»¶ÔÄãµÄѧϰ¼°ÕÒ¹¤×÷ÓÐËù°ïÖú¡£¶Ô±ÈÒ»ÏÂ×Ô¼º£¬ÄãÒѾ­ÕÆÎÕÁËÕâ25ÌõÖеĶàÉÙÌõÁËÄØ?¡¡¡¡1.ÄãÐèÒª¾«Í¨ÃæÏò¶ÔÏó·ÖÎöÓëÉè¼Æ(OOA/OOD)¡¢É漰ģʽ(GOF£¬J2EEDP)ÒÔ¼°×ÛºÏģʽ¡£ÄãÓ¦¸ÃÁ˽âUML£¬ÓÈÆäÊÇclass£¬object£¬interactionÒÔ¼°statediagrams¡£
¡¡¡¡2.ÄãÐèҪѧϰJavaÓïÑԵĻù´ ......

·â×°¸øjavaʹÓÃµÄ web±¨±í rm webrm ±¨±í1.0.0.1°æ

°æ±¾£º1.0.0.1 
http://download.csdn.net/source/1856731
ÍêÈ«¼æÈÝ Ç°Ò»¸ö°æ±¾
Éý¼¶Ê±Í¬Ê±¸üРRMVIEWP.CAB¡¢rmview1.0.0.1.jar£¨É¾³ýÇ°Ò»¸ö°æ±¾µÄjar°ü£¬Ãû³ÆΪ£ºRMVIEW.JAR£©
ʹÓ÷½·¨²»±ä£¬ÎÞ·ìÉý¼¶¡£
¸üÐÂÈÕÖ¾£º
1£® ÐÞÕý²¿·ÖÓû§Ê¹ÓÃÖÐÓõ½²å¼þµÄ·Ö¸î·ûºÅ£¬ÖÂʹ²å¼þ²»ÄÜÕý³£Ê¹Ó㬱¾°æÖмäʹÓÃxml¸ñ ......

JavaʵÀý´úÂë:ͶƱ¼ÆÊýÆ÷


import java.awt.*;
import java.awt.event.*;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import javax.swing.*;
public class ElectToo extends JFrame implements ActionListener,ItemListener
{
 static ElectToo frm=new ElectToo();
 static Save ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ