JAVA Ìåϵ¼°Æä±à³ÌµÄ¹ý³Ì
JAVA Ìåϵ¼°Æä±à³ÌµÄ¹ý³Ì
°¥£¬±ÏÒµÁËÒ²Ò»¶Îʱ¼äÁË£¬Ö»ÖªµÀÌìÌì³´úÂ룬 JAVA µÄ»ù´¡ÖªÊ¶»ù±¾ÊÇÍüµôÁË£¬¼ÓÉÏÒÔǰһֱûÓÐϵͳµØѧϰ¹ý£¬¸Ð¾õ¿ìÒª·ÏÁË¡£»¹ÊǺúþ²ÏÂÐÄÀ´Ñ§Ñ§»ù´¡°É¡£²»ÄÜÌìÌ쿼³´úÂë¹ýÈÕ×Ó°¡¡£¡£¡£¡££¨ÏÂÎÄ´ó¶àÀ´×Կα¾ÒÔ¼°Ò»Ð©¼¼ÊõÊÓƵÉϵÄÄÚÈÝ£¬»ù±¾Àí½âÁËһЩÁË£¬Ê£ÏµÄÓÉÒÔºóµÄѧϰÂýÂýÔÙÈ¥Ìå»á°É£©
JAVA Ìåϵ £º
Ò»¡¢ ÒÆÖ²½Ó¿Ú
ÒÆÖ²½Ó¿ÚÓÉÊÊÅäÆ÷ºÍ²Ù×÷ϵͳ×é³É£¬±£Ö¤ Java Ìåϵ½á¹¹¿É¿çƽ̨Óë¸÷¸ö²Ù×÷ϵͳ½Ó¡£
¶þ¡¢ JAVA ÐéÄâ»ú¡¢½âÊÍÆ÷
ÐéÄâ»úÊÇ Java µÄʵÏÖ»úÖÆ£¬Ëüʵ¼ÊÉÏÊÇÄ£ÄâÈí¼þϵͳ£¬Ëü¿ÉÒÔÓÃÓ²¼þʵÏÖ£¬ÔÚÒƶ¯É豸ÖпÉÒÔʹһ¸öоƬ¡£ÐéÄâ»ú¶¨ÒåÓÐÖ¸Á¡¢¼Ä´æÆ÷¼¯¡¢ÀàÎļþ½á¹¹Õ»¡¢À¬»øÊÕ¼¯Õ»¡¢ÄÚ´æÇøÓò£¬ÐéÄâ»úÔÚÖ´Ðйý³ÌÓÐ 3 ¸öÌص㣺¶àÏ̡߳¢¶¯Ì¬Á´½Ó¡¢Òì³£´¦Àí¡£ JAVA ÐéÄâ»ú´úÂë±»´æ´¢ÔÚ .Class ÎļþÖС£
½âÊÍÆ÷µÄÈÎÎñÊÇÖ´ÐÐ×Ö½Ú´úÂ룬ËüÓëÐéÄâ»ú¹¹³É JAVA ÔËÐл·¾³£¬Íê³É×Ö½Ú´úÂëÓ³Éäµ½±¾µØƽָ̨Áî¡£
Èý¡¢ JAVA »ù±¾Àà¡¢ JAVA ±ê×¼À©Õ¹ÀàºÍ JAVA »ù±¾ API ¡¢ JAVA ±ê×¼À©Õ¹ API ÊÇΪ±àÒëÆ÷·þÎñµÄ¡£
ËÄ¡¢ Ó¦ÓóÌÐò¡¢±àÒëÆ÷
Ó¦ÓóÌÐòºÍ Applet С³ÌÐòͨ¹ý±àÒëÆ÷Íê³É³ÌÐòµ½×Ö½Ú´úÂëµÄת»»¡£ .
JAVA µÄ±à³Ì¹ý³ÌÈçÏ £º
1¡¢ .java µÄ java ÎļþÓɱàÒëÆ÷±àÒëΪ .class µÄ java ×Ö½ÚÂëÎļþ¡£ÕâЩ .class £¨Ã¿¸öÎļþ°üº¬×î¶àÒ»¸ö public Àà £©µÄ java ×Ö½ÚÂëÎļþ ÓеĿÉÒÔÖ±½ÓÔÚ JVM ÉÏÖ´ÐУ¬ÓеÄÐèÒªÓÉ JVM ½âÊͳÌÐò½âÊͺóÔÚÏàÓ¦µÄ²Ù×÷ϵͳÉÏÖ´ÐС££¨Õâ¸ö¾ÍÊÇ Java ¿ÉÒÔ¿çƽ̨µÄÔÒò£©
¶øÐéÄâ»ú£¨ JVM £©µÄÖ´Ðйý³ÌÈçÏÂËùʾ£º
Ïà¹ØÎĵµ£º
create PROCEDURE pagelist
@tablename nvarchar(50),
@fieldname nvarchar(50)='*',
@pagesize int output,--ÿҳÏÔʾ¼Ç¼ÌõÊý
@currentpage int output,--µÚ¼¸Ò³
@orderid nvarchar(50),--Ö÷¼üÅÅÐò
@sort int,--ÅÅÐò·½Ê½£¬1±íʾÉýÐò£¬0±íʾ½µÐòÅÅÁÐ
......
1¡¢±àдһ¸ö¼òµ¥µÄÎı¾±à¼Æ÷£¬ÒªÇ󣺾ßÓдò¿ª¡¢±£´æ¡¢Ð½¨£¬Õ³Ìù¡¢¸´ÖƵȹ¦ÄÜ£»¾ßÓÐÒ»¸ö¹¤¾ßÌõ¡£
1.1¡¢³ÌÐòÔ´Â루²Î¼ûmenu.java£©£º
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.net.URL;
public class menu extends JFrame impl ......
Õ⼸ÌìÒ»Ö±ÔÚÑо¿FlexÖÐRemoteObjectÓëjavaµÄ½»»¥ÎÊÌ⣬¿ÉÒ»Ö±²»³É¹¦£¬½ñÌìÖÕÓڳɹ¦ÁË£¬µ«ÊÇ»¹ÓÐһЩÒÉ»ó£¬Ó¦¸Ã¼ÌÐøŬÁ¦¡£
ÏÂÃæÊÇÎҵľ¹ýºÍÅöµ½µÄ´íÎó£º
£¨1£©ÏÂÔغͰ²×°lcds.
ÔÚ°²×°Ä¿Â¼Ï»áÓÐÈçÏÂÎļþ£¬ÆäÖÐlcds.war¿ÉÒÔ×÷ΪÎÒÃÇ¿ª·¢FlexÓëjava½»»¥µÄÄ£°æ£¬°ÑÕâ¸öÎļþ¿¼µ½ÄãtomcatµÄwebappsÏ£¨µ±È»ÕâÖÖÇé¿öÊÇÄ ......
µÚÒ»£º
1.StringÊÇ×î»ù±¾µÄÊý¾ÝÀàÐÍô£¿
´ð£º²»ÊÇ¡£»ù±¾µÄÊý¾ÝÀàÐÍ°üÀ¨£ºbyte,int,char,long,float,double,booleanºÍshort.
java.lang.StringÀàÊÇfinalÀàÐ͵ģ¬Òò´Ë²»¿ÉÒԼ̳ÐÕâ¸öÀ࣬²»ÄÜÐÞ¸ÄÕâ¸öÀà¡£
2.¾²Ì¬±äÁ¿ºÍʵÀý±äÁ¿µÄÇø±ð£¿
´ð£ºstatic i = 10 ;//³£Á¿
&nb ......
SetºÍÊýѧÖеļ¯ºÏÊÇͬһ¸ö¸ÅÄ¾ÍÊÇûÓÐÖظ´ÔªËصļ¯ºÏ¡£
ÕâƪÎÄÕÂÖ÷ÒªÂÛÊöÁËSetÊÇÈçºÎʵÏÖ"ûÓÐÖظ´ÔªËØ"£¨no duplicate elements£©µÄ£¬ÒÔ¼°²ûÊöÁËʲôÊÇ“Öظ´”£¨duplicate£©£¬ÊÇÏàͬµÄµØÖ·¿Õ¼ä£¿ÊÇequalsµÄ·µ»ØֵΪtrue£¿ÊÇcompareToµÄ·µ»ØֵΪ0 £¿»¹ÊÇÓÐÏàͬµÄhashCode£¿±¾ÎÄ»¹¸ø³öÁËÔÚʲôÇé¿öÏÂʹÓÃʲà ......