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£©³éÏóÀàºÍ½Ó¿Ú¶¼Î»Óڼ̳ÐÊ÷µÄÉϲ㣻
ÕâÀïÓÐÒ»¸öÉè¼Æ˼Ï룺µ±Ò»¸öϵͳ£¨Ò»¸öÀࣩʹÓÃÒ»¿Ã¼Ì³ÐÊ÷ÉϵÄÀàʱ£¬Ó¦¸Ã¾¡¿ÉÄܵذÑÒýÓñäÁ¿ÉùÃ÷Ϊ¼Ì³ÐÊ÷µÄÉϲã³éÏóÀàÐÍ£¬ÒýÓñäÁ
Ïà¹ØÎĵµ£º
ListµÄÓ÷¨
List°üÀ¨List½Ó¿ÚÒÔ¼°List½Ó¿ÚµÄËùÓÐʵÏÖÀà¡£ÒòΪList½Ó¿ÚʵÏÖÁËCollection½Ó¿Ú£¬ËùÒÔList½Ó¿ÚÓµÓÐCollection½Ó¿ÚÌṩµÄËùÓг£Ó÷½·¨£¬ÓÖÒòΪListÊÇÁбíÀàÐÍ£¬ËùÒÔList½Ó¿Ú»¹ÌṩÁËһЩÊʺÏÓÚ×ÔÉíµÄ³£Ó÷½·¨£¬Èç±í1Ëùʾ¡£
±í1 List½Ó¿Ú¶¨ÒåµÄ³£Ó÷½·¨¼°¹¦ÄÜ
´Ó±í1¿ÉÒÔ¿´³ö£¬List½Ó¿ÚÌṩµÄÊʺÏÓÚ×ÔÉíµÄ ......
< type="text/javascript"> document.body.oncopy = function() { if (window.clipboardData) { setTimeout(function() { var text = clipboardData.getData("text"); if (text && text.length>300) { text = text + "\r\n\n±¾ÎÄÀ´×ÔCSDN²©¿Í£¬×ªÔØÇë±êÃ÷³ö´¦£º" + location.href; clipboardData.setData( ......
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 ......
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 ......