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

JavaÓï·¨×ܽá ÄÚ²¿Àà

´ÓJava1.1¿ªÊ¼ÒýÈëÁËÄÚ²¿ÀàÒÔÀ´£¬Ëü¾ÍÒýÆðÁËÈËÃǵļ¤ÁÒÕùÂÛ¡£ÆäʵÈκÎÓÅÐãµÄÓïÑÔÌØÐÔÓõò»ºÃ¾ÍÊÇÀÄÓã¬ÄÚ²¿ÀàÓõò»ºÃ¾Í»áµ¼Ö´úÂëÏñÃÔ¹¬Ò»Ñù£¬µ¼Ö³öÏÖºÁÎÞÖØÓõÄ×ÛºÏÕ÷¡£
1¡¢ÄÚ²¿Àà·ÖΪ³ÉÔ±ÄÚ²¿Àà¡¢¾²Ì¬Ç¶Ì×Àà¡¢·½·¨ÄÚ²¿Àà¡¢ÄäÃûÄÚ²¿Àà¡£
¼¸ÖÖÄÚ²¿ÀàµÄ¹²ÐÔ£º
A¡¢ÄÚ²¿ÀàÈÔÈ»ÊÇÒ»¸ö¶ÀÁ¢µÄÀ࣬ÔÚ±àÒëÖ®ºó»áÄÚ²¿Àà»á±»±àÒë³É¶ÀÁ¢µÄ.classÎļþ£¬µ«ÊÇÇ°Ãæ¹ÚÒÔÍⲿÀàµÄÀàÃüºÍ$·ûºÅ¡£
B¡¢ÄÚ²¿À಻ÄÜÓÃÆÕͨµÄ·½Ê½·ÃÎÊ¡£ÄÚ²¿ÀàÊÇÍⲿÀàµÄÒ»¸ö³ÉÔ±£¬Òò´ËÄÚ²¿Àà¿ÉÒÔ×ÔÓɵطÃÎÊÍⲿÀàµÄ³ÉÔ±±äÁ¿£¬ÎÞÂÛÊÇ·ñÊÇprivateµÄ¡£
2¡¢³ÉÔ±ÄÚ²¿ÀࣺÐÎʽÈçÏÂ
    class Outer {
        class Inner{}
    }       
±àÒëÉÏÊö´úÂë»á²úÉúÁ½¸öÎļþ£ºOuter.classºÍOuter$Inner.class¡£
³ÉÔ±ÄÚ²¿ÀàÄÚ²»ÔÊÐíÓÐÈκξ²Ì¬ÉùÃ÷£¡ÏÂÃæ´úÂë²»ÄÜͨ¹ý±àÒë¡£
    class Inner{
        static int a = 10;
    }
Äܹ»·ÃÎʳÉÔ±ÄÚ²¿ÀàµÄΨһ;¾¶¾ÍÊÇͨ¹ýÍⲿÀàµÄ¶ÔÏó£¡
A¡¢´ÓÍⲿÀàµÄ·Ç¾²Ì¬·½·¨ÖÐʵÀý»¯ÄÚ²¿Àà¶ÔÏó¡£
    
class
 Outer {
        
private
 
int
 i 
=
 
10
;
        
public
 
void
 makeInner(){
            Inner in 
=
 
new
 Inner();
            in.seeOuter();
        }
        
class
 Inner{
            
public
 
void
 seeOuter(){
                System.out.print(i);
            }
        }
    }
±íÃæÉÏ£¬ÎÒÃDz¢Ã»Óд´½¨ÍⲿÀàµÄ¶ÔÏó¾ÍʵÀý»¯ÁËÄÚ²¿À


Ïà¹ØÎĵµ£º

javaÖÐÈÕÆÚ¡¢ÈÕÆÚ¸ñʽ¡¢ÈÕÆÚ¼ÆËãѧϰ±Ê¼Ç

2. Calendar ¶ÔÏóµÄÈÝ´íÐÔ£¬Lenient ÉèÖà ÎÒÃÇÖªµÀÌض¨µÄÔ·ÝÓв»Í¬µÄÈÕÆÚ£¬µ±Ò»¸öÓû§¸ø³ö´íÎóµÄÈÕÆÚʱ£¬Calendar ÈçºÎ´¦ÀíµÄÄØ£¿ import java.io.*;
import java.util.*; public class WhatIsCalendar
{
    public static void main(String[] args) throws Exception{
   ......

Java Web·þÎñÖ®¡°´ÓWSDLÎĵµÖÐÉú³É¿Í»§¶ËÖ§³Ö´úÂ롱


±¾ÎĽÚÑ¡×Ô¡¶Java Web·þÎñ£º¹¹½¨ÓëÔËÐС·2.1.1½Ú
´ÓWSDLÎĵµÖÐÉú³É¿Í»§¶ËÖ§³Ö´úÂ루Generating Client-Support Code from a WSDL£©
ͨ¹ýJavaÌṩµÄ“wsimport”¹¤¾ß¿ÉÒÔºÜÈÝÒ×Íê³É»ùÓÚSOAPЭÒéµÄWeb·þÎñ¿Í»§¶ËÉú³É¹¤×÷¡£Õâ¸ö¹¤¾ß¿ÉÒÔ´Ó¶ÔÓ¦µÄWSDLÎĵµµÄ·þÎñÃèÊöÖÐÉú³É¿Í»§¶ËÖ§³Ö´úÂë»òÆäËûÏà¹Ø×ÊÔ´¡£ÊäÈë²¢Ö´ ......

תÌù: JavaµÄÀ¬»ø»ØÊÕ»úÖÆ

2006-01-18 13:53×÷Õߣº³ö´¦£º²©¿ÍÔ°ÔðÈα༭£º·½ÖÛ http://dev.yesky.com/178/2278678.shtml ÒýÑÔ
JavaµÄ¶ÑÊÇÒ»¸öÔËÐÐʱÊý¾ÝÇø£¬ÀàµÄʵÀý(¶ÔÏó)´ÓÖзÖÅä¿Õ¼ä¡£JavaÐéÄâ»ú(JVM)µÄ¶ÑÖд¢´æ×ÅÕýÔÚÔËÐеÄÓ¦ÓóÌÐòËù½¨Á¢µÄËùÓжÔÏó£¬ÕâЩ¶ÔÏóͨ¹ýnew¡¢newarray¡¢anewarrayºÍmultianewarrayµÈÖ¸ÁÁ¢£¬µ«ÊÇËüÃDz»ÐèÒ ......

Java°æ½«EXCEL±íÊý¾Ýµ¼Èëµ½Êý¾Ý¿âÖÐ

      ¿ÉÄܺܶ࿪·¢Õß»áÃæ¶Ô¿Í»§ÕâÑùµÄÐèÇó£¬ÔÚδʹÓÃϵͳ֮ǰ£¬ËûÃǺܶàÊý¾Ý¶¼ÊDZ£´æÔÚWord»òÕßExcelµÈһЩµç×Ó±í¸ñÖУ¬ÏÖÔÚËûÃÇÐèÒª½«Ô­À´µÄÊý¾Ý×Ô¶¯µ¼È뵽ϵͳÖÐÈ¥£¬¶ø²»ÊÇÒ»ÌõÒ»ÌõµØÊÖ¹¤Â¼Èë¡£ÎÒ¾ÍÅöµ½ÁËÕâÑùµÄÐèÇ󣬾­¹ýÒ»·¬ÕÛÌÚÖ®ºó£¬ÖÕÓÚʵÏÖÁË£¬ÎÒÊDzÉÓõÚÈý·½¿Ø¼þJXLʵÏֵģ¬Ô­ÀíÊDZȽϼ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ