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

JavaÖеĽӿÚ

  1.  ÔÚJavaÖУ¬Ò»¸öÀàÖ»Äܹ»ÓÐÒ»¸öÖ±½ÓµÄ¸¸À࣬µ«ÊÇÒ»¸öÀà¿ÉÒÔʵÏÖ¶à¸ö½Ó¿Ú£¬Java²ÉÓÃÕâÖÖ·½Ê½ÊµÏÖ¶à¼Ì³Ð£»
  2. ½Ó¿ÚµÄ¸ÅÄ
      a.½Ó¿ÚÃ÷È·µØÃèÊöÁËϵͳ¶ÔÍâÌṩµÄËùÓзþÎñ£¬ÇåÎúµØ°ÑϵͳµÄʵÏÖϸ½ÚÓë½Ó¿Ú·ÖÀ룬ϵͳµÄʵÏÖϸ½ÚÓɽӿڵÄʵÏÖÀฺÔðʵÏÖ£¬½Ó¿Ú¸ºÔð¶ÔÍâÃèÊöϵͳÌṩµÄ·þÎñ£¬¶ÔÄÚÃèÊöϵͳӦ¸Ã¾ß±¸µÄ¹¦ÄÜ£»
      b.½Ó¿ÚºÍ³éÏóÀ඼²»Äܹ»±»ÊµÀý»¯£¬µ«ÊdzéÏóÀàÖпÉÒÔ°üº¬¾ßÌåµÄʵÏÖ£¬ÕâÑù¿ÉÒÔÌá¸ß´úÂëµÄÖØÓÃÐÔ£¬¶ø½Ó¿Ú²»ÄÜ°üº¬ÈκξßÌåµÄʵÏÖ£»
  3.½Ó¿ÚµÄÌصã
     £¨1£©½Ó¿ÚÖеijÉÔ±±äÁ¿±ØÐëÈ«²¿ÊÇpublic,static,finalÀàÐÍ£¨±àÒëʱ³£Á¿£©£¬±ØÐë±»ÏÔʽµØ³õʼ»¯£»
     £¨2£©½Ó¿ÚÖеķ½·¨±ØÐëÈ«²¿ÊÇpublic,abstractÀàÐÍ£»
             ×ۺϣ¨1£©£¨2£©Á½µã£¬½Ó¿ÚÖв»Äܹ»³öÏÖ£º
              A.ʵÀý±äÁ¿
              B.·Ç³éÏóµÄʵÀý·½·¨
              C.¾²Ì¬·½·¨
     £¨3£©½Ó¿ÚÖÐûÓй¹Ôì·½·¨£¬ÒòΪ²»Äܹ»´´½¨½Ó¿ÚµÄʵÀý¶ÔÏó£»
     £¨4£©Ò»¸ö½Ó¿Ú²»Äܹ»ÊµÏÖÁíÍâÒ»¸ö½Ó¿Ú£¬Ö»Äܹ»¼Ì³ÐÁíÍâ¶à¸ö½Ó¿Ú£¨Àà¿ÉÒÔʵÏÖ¶à¸ö½Ó¿Ú£¬½Ó¿Ú¿ÉÒԼ̳жà¸ö½Ó¿Ú£©£¬Èç¹û½Ó¿ÚCͬʱ¼Ì³Ð½Ó¿ÚAºÍB£¬Ôò½Ó¿ÚC³ÉΪ·ûºÏ½Ó¿Ú£»
     £¨5£©½Ó¿Ú±ØÐëͨ¹ýÀàʵÏÖËüµÄ³éÏó·½·¨£¬µ±ÀàʵÏÖij¸ö½Ó¿Úʱ£¬Ëü±ØÐëʵÏÖ½Ó¿ÚÖÐËùÓеijéÏó·½·¨£¬·ñÔòÕâ¸öÀà±ØÐë±»¶¨ÒåΪ³éÏóÀà
     £¨6£©²»Äܹ»´´½¨½Ó¿ÚµÄʵÀý£¬µ«¿ÉÒÔ´´½¨½Ó¿ÚÀàÐ͵ÄÒýÓñäÁ¿£¬¸Ã±äÁ¿¿ÉÒÔÒýÓÃʵÏÖÕâ¸ö½Ó¿ÚµÄÀàµÄʵÀý
    4.³éÏóÀàvs½Ó¿Ú
      4.1  Ïàͬµã
      £¨1£©³éÏóÀàºÍ½Ó¿Ú¶¼Î»Óڼ̳ÐÊ÷µÄÉϲ㣻
              ÕâÀïÓÐÒ»¸öÉè¼Æ˼Ï룺µ±Ò»¸öϵͳ£¨Ò»¸öÀࣩʹÓÃÒ»¿Ã¼Ì³ÐÊ÷ÉϵÄÀàʱ£¬Ó¦¸Ã¾¡¿ÉÄܵذÑÒýÓñäÁ¿ÉùÃ÷Ϊ¼Ì³ÐÊ÷µÄÉϲã³éÏóÀàÐÍ£¬ÒýÓñäÁ


Ïà¹ØÎĵµ£º

·ÖÒ³¹¦ÄܵÄjavaʵÏÖ

       ×î½ü×öÒ»¸öÏîÄ¿£¬ÒªÓõ½·ÖÒ³¹¦ÄÜ£¬²Î¿¼Á˺ܶ෽·¨£¬ÓеIJ»ºÏÊÊ£¬ÓеIJ»Ï²»¶£¬ÓÚÊÇ×Ô¼ºÔÚËûÃǵĻù´¡ÉÏÕûÁËÒ»¸ö£»Ë¼Â·ÊÇÕâÑùµÄ£ºÏÈ°ÑÐèÒª·ÖÒ³µÄÊý¾Ý»òÊǼǼ¶¼²éѯ³öÀ´ ´æÈëÒ»¸ö¼¯ºÏÀàÀïÈçList»òÊÇVector£¬È»ºóÀûÓÃÆäsublist(int findex,int eindex)·½·¨£¬»ñÈ¡ÐèÒª·ÖÒ³µÄÊý¾Ý»ò¼Ç¼,¹ØÓ ......

socketͨÐÅjava»òc#ÖÐÎÄÂÒÂëÎÊÌâ

C#ÖÐÏÔʾÖÐÎÄ£º
¡¾
·¢ËÍÊý¾Ý£º  
  string   sReturnData   =   "ÄãºÃ";  
  Byte[]  
bReturnData   =   Encoding.ASCII.GetBytes(sReturnData.ToCharArray());  
 
m_sktSession.Send(bReturnData); 
¡¾½«³öÏÖÂÒÂë¡¿
¡¿  ......

java SAX½âÎöXMLÎļþ

import java.io.File;
import java.io.FileNotFoundException;
import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.Element;
import org.dom4j.io.SAXReader;
public class ResolveXmlFile {
 
 public void resolverXml() throws DocumentException, FileNotFoundExcept ......

java»ù´¡¾­µä±à³ÌÌâ


Monkey_peach´úÂë
package com.sailor.game;   
  
/**   
 * ÌâÄ¿£ººï×Ó³ÔÌÒÎÊÌ⣺ºï×ÓµÚÒ»ÌìÕªÏÂÈô¸É¸öÌÒ×Ó£¬µ±¼´³ÔÁËÒ»°ë£¬»¹²»ñ«£¬ÓÖ¶à³ÔÁËÒ»¸ö µÚ¶þÌìÔçÉÏÓÖ½«Ê£   
 * ÏµÄÌÒ×Ó³ÔµôÒ»°ë£¬ÓÖ¶à³ÔÁËÒ»¸ö¡£ÒÔºóÿÌìÔçÉ϶¼³ÔÁËÇ°Ò»ÌìʣϠ......

JavaÖÐÔõô¸Ä±ä×ÖÌåµÄÒ»¸ö¼òµ¥ÊµÀýºÍÔËÐÐЧ¹û

package java;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import javax.swing.*;
public class fontnameDome extends JFrame implements ActionListen ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ