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

javaÓÅÐãµÄ³ÌÐòÔ±±Ø¶Á

 1¡¢Óï·¨£º±ØÐë±È½ÏÊìϤ£¬ÔÚд´úÂëµÄʱºòIDEµÄ±à¼­Æ÷¶ÔijһÐб¨´íÓ¦¸ÃÄܹ»¸ù¾Ý±¨´íÐÅÏ¢ÖªµÀÊÇʲôÑùµÄÓï·¨´íÎó²¢ÇÒÖªµÀÈκÎÐÞÕý¡£
    2¡¢ÃüÁ±ØÐëÊìϤJDK´øµÄһЩ³£ÓÃÃüÁî¼°Æä³£ÓÃÑ¡ÏÃüÁîÖÁÉÙÐèÒªÊìϤ£ºappletviewer¡¢ HtmlConverter¡¢jar¡¢ java¡¢javac¡¢javadoc¡¢javap¡¢javaw¡¢native2ascii¡¢serialver£¬Èç¹ûÕâЩÃüÁîÄãûÓÐÈ«²¿Ê¹Óùý£¬ÄÇôÄã¶Ôjavaʵ¼ÊÉÏ»¹ºÜ²»Á˽⡣
    3¡¢¹¤¾ß£º±ØÐëÖÁÉÙÊìÁ·Ê¹ÓÃÒ»ÖÖIDEµÄ¿ª·¢¹¤¾ß£¬ÀýÈçEclipse¡¢Netbeans¡¢JBuilder¡¢Jdeveloper¡¢IDEA¡¢JCreator»òÕßWorkshop£¬°üÀ¨½øÐй¤³Ì¹ÜÀí¡¢³£ÓÃÑ¡ÏîµÄÉèÖᢲå¼þµÄ°²×°ÅäÖÃÒÔ¼°½øÐе÷ÊÔ¡£
    4¡¢API£ºJavaµÄºËÐÄAPIÊǷdz£ÅÓ´óµÄ£¬µ«ÊÇÓÐһЩÄÚÈݱÊÕßÈÏΪÊDZØÐëÊìϤµÄ£¬·ñÔò²»¿ÉÄÜÊìÁ·µÄÔËÓÃJava£¬°üÀ¨£º
    ¡ôjava.lang°üϵÄ80£¥ÒÔÉϵÄÀàµÄ¹¦ÄܵÄÁé»îÔËÓá£
    ¡ôjava.util°üϵÄ80£¥ÒÔÉϵÄÀàµÄÁé»îÔËÓã¬ÌرðÊǼ¯ºÏÀàÌåϵ¡¢¹æÔò±í´ïʽ¡¢zip¡¢ÒÔ¼°Ê±¼ä¡¢Ëæ»úÊý¡¢ÊôÐÔ¡¢×ÊÔ´ºÍTimer.
    ¡ôjava.io°üϵÄ60£¥ÒÔÉϵÄÀàµÄʹÓã¬Àí½âIOÌåϵµÄ»ùÓڹܵÀÄ£Ð͵ÄÉè¼Æ˼·ÒÔ¼°³£ÓÃIOÀàµÄÌØÐÔºÍʹÓó¡ºÏ¡£
    ¡ôjava.math°üϵÄ100£¥µÄÄÚÈÝ¡£
    ¡ôjava.net°üϵÄ60£¥ÒÔÉϵÄÄÚÈÝ£¬¶Ô¸÷¸öÀàµÄ¹¦ÄܱȽÏÊìϤ¡£
    ¡ôjava.text°üϵÄ60£¥ÒÔÉϵÄÄÚÈÝ£¬ÌرðÊǸ÷ÖÖ¸ñʽ»¯Àà¡£
    ¡ôÊìÁ·ÔËÓÃJDBC.
    ¡ôjava.security°üÏÂ40£¥ÒÔÉϵÄÄÚÈÝ£¬Èç¹û¶ÔÓÚ°²È«Ã»ÓнӴ¥µÄ»°¸ù±¾¾Í²»¿ÉÄÜÕÆÎÕjava.
    ¡ôAWTµÄ»ù±¾ÄÚÈÝ£¬°üÀ¨¸÷ÖÖ×é¼þʼþ¡¢¼àÌýÆ÷¡¢²¼¾Ö¹ÜÀíÆ÷¡¢³£ÓÃ×é¼þ¡¢´òÓ¡¡£
    ¡ôSwingµÄ»ù±¾ÄÚÈÝ£¬ºÍAWTµÄÒªÇóÀàËÆ¡£
    ¡ôXML´¦Àí£¬ÊìϤSAX¡¢DOMÒÔ¼°JDOMµÄÓÅȱµã²¢ÇÒÄܹ»Ê¹ÓÃÆäÖеÄÒ»ÖÖÍê³ÉXMLµÄ½âÎö¼°ÄÚÈÝ´¦Àí¡£
    5¡¢²âÊÔ£º±ØÐëÊìϤʹÓÃjunit±àд²âÊÔÓÃÀýÍê³É´úÂëµÄ×Ô¶¯²âÊÔ¡£
    6¡¢¹ÜÀí£º±ØÐëÊìϤʹÓÃantÍê³É¹¤³Ì¹ÜÀíµÄ³£ÓÃÈÎÎñ£¬ÀýÈ繤³Ì±àÒë¡¢Éú³Éjavadoc¡¢Éú³Éjar¡¢°æ±¾¿ØÖÆ¡¢×Ô¶¯²âÊÔ¡£
    7¡¢ÅÅ´í£ºÓ¦¸Ã¿ÉÒÔ¸ù¾ÝÒì³£ÐÅÏ¢±È½Ï¿ìËٵĶ¨Î»ÎÊÌâµÄÔ­ÒòºÍ´óÖÂλÖá£
    8¡¢Ë¼Ï룺±ØÐëÕÆÎÕOOPµÄÖ÷ÒªÒªÇó£¬ÕâÑùʹÓÃJava¿ª·¢µÄϵͳ²ÅÄÜÊÇ


Ïà¹ØÎĵµ£º

JAVAÖµ´«µÝ(call by value)

public class Foo {
 static void operate(StringBuffer x,StringBuffer y){
  x.append(y);
  y=x;
 }
 public static void main(String args[]){
  StringBuffer a = new StringBuffer("A");
  StringBuffer b = new StringBuffer("B");
  
& ......

How to use Java as NT SERVICE


 service = new
 Service();  
        thread=new
 Thread(service);  
        try
  
        {  
   ......

java»ù´¡ÈëÃÅѧϰ±Ê¼Ç(Ò»):bubblesortËã·¨¸öÈËѧϰ


public class bubblesort {
 public static void main(String[] args) {
 
   int array[]=new int[]{1,5,9,4,6,2};   
   
   int m;
  
   for(int i=0;i<array.length;i++){
    System.out.print(arra ......

Java´´½¨¶ÔÏóµÄÈýÖÖ·½·¨

Ò»¡¢new
¡¡¡¡Ê¹ÓÃjavaµÄ¹Ø¼ü×ÖnewÀ´´´½¨¶ÔÏóʵÀý¡£¹¹Ô캯ÊýÁ´ÖеÄËùÓй¹Ô캯Êý¶¼»á±»×Ô¶¯µ÷Óá£
     Java´úÂ룺
¡¡¡¡  CreateInstance  instance = new  CreateInstance  ();
¶þ¡¢clone
      ¹¹Ô캯Êý²»±»×Ô¶¯µ÷Óá£
¡¡¡¡Java´úÂ룺  ......

Java Concurrent°üѧϰ֮ConcurrentHashMap

ÔÚJava concurrent°üÖÐÓÐÕâôһ¸ö½Ó¿Ú£ºConcurrentMap¡£
ConcurrentMap¼Ì³Ð×ÔMap£¬²¢Ìí¼ÓÁ˼¸¸öеÄÔ­×Ó·½·¨£º putIfAbsent¡¢remove¡¢replace
Æä·½·¨ÕªÒªÈçÏ£º
 V
putIfAbsent(K key, V value)
          Èç¹ûÖ¸¶¨¼üÒѾ­²»ÔÙÓëij¸öÖµÏà¹ØÁª£¬Ôò½ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ