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

JAVAרҵÊõÓO

 JAVAרҵÊõÓO
API£ºJava ApplicationProgrammingInterface API£¨Ó¦ÓóÌÐò½Ó¿Ú£©ÊÇÊÂÏÈдºÃµÄ´úÂë,
        ×éÖ¯µ½Ïà¹Ø°ü¡£ÀýÈç Applet ºÍ AWT °ü°üÀ¨½¨Á¢×ÖÌå¡¢²Ëµ¥¡¢°´Å¥µÄÀࣨCLASS£©£¬
        È«²¿µÄJava API±»°üº¬ÔÚJavaTM 2 Standard Edition 1. ÔÚÏßAPIÎĵµ¡¡2. APIÎĵµ
        ÏÂÔØ  
Applet Applet£¨Ð¡Ó¦ÓóÌÐò£©ÊÇÔÚWEBä¯ÀÀÆ÷ÀïÔËÐеÄjava³ÌÐò¡£AppletsʹÓÃGUI£¬¿ÉÄÜ
        ÓÐÎı¾¡¢Í¼Ïó¡¢°´Å¥¡¢ÉùÒôµÈ¡£ AWT ºÍ SWING ͨ³£±»ÁªºÏʹÓᣠ1.  ¼Ü¹¹Applets
        2. дһ¸öApplets 3. java.applet°ü  
AWT£ºAbstract WindowToolkit AWT£¨³éÏó´°¿Ú¹¤¾ß¼¯£©ÊÇÒ»¸ö°üº¬ÓÃÀ´½¨Á¢AppletºÍÓ¦
        ÓóÌÐòÐèÒªÓõ½µÄ×é¼þ£¨±ÈÈç°´Å¥¡¢²Ëµ¥¡¢¹ö¶¯ÌõµÈ£©µÄ°ü£¨package£©¡£ 1. AWTÔ­
        Ôò 2. Óà AWT¹¹ÔìGUI 3. java.awt °üÃèÊö 4. AWTÂÛ̳
JavaBeansTM JavaBean¿ÉÖظ´ÀûÓᢿɻ¥»»µÄÈí¼þ×é¼þ¡£ JavaBeans ¿ÉÄÜÊǼòµ¥µÄÏó°´
        Å¥»òÕßÊÇ·ÃÎÊÊý¾Ý¿âµÄ¹¤¾ßµÈ¡£ 1. JavaBeans ¼¼Êõ: BeanContext API  2.
        JavaBeansÂÛ̳ 
JFC£ºJavaTM Foundation Classes (JFC) JFC£¨JAVA»ù´¡Àࣩ¼¯ºÏÁËGUI×é¼þÒÔ¼°ÆäËûÄÜ
        ¼ò»¯¿ª·¢ºÍÕ¹¿ª×ÀÃæºÍInternet/IntranetÓ¦ÓõķþÎñ¡£ 1. Java Foundation Classes
        (JFC) 2. JFC FAQ  
JNI£ºJavaTMNative Interface JNI£¨JAVA±¾µØ½Ó¿Ú£©ÊÇ JDKÖÐJAVAµÄ±¾µØ±à³Ì½Ó¿Ú£¬JNI
        ÔÊÐíJava´úÂë²Ù×÷ÓÃÆäËûµÄ¸ß¼¶£¨ÍƼö£©±à³ÌÓïÑÔ£¨±ÈÈçC¡¢C++£©±àдµÄÓ¦ÓóÌÐòºÍ
        ¿â¡£ 1. Ö¸ÄÏ: JNI 2. JNI¼¼Êõ3. JNI 1.2  
JSP£ºJavaServerTM Pages ͨ¹ýÔÚHTMLÒ³ÃæÀïǶÈëscriptlets (Java±à³ÌÓïÑÔ´úÂë) ¹¹Ôì
        JSP£¬ JSP Ò³Ãæ´¦Àí±íµ¥£¬Íê³É¼ÆË㣬 »òÕß×öJAVAÓïÑ


Ïà¹ØÎĵµ£º

»ùÊýÅÅÐò java Ëã·¨

package sort;
public class RadixSort {
 // Çóx ÊýµÚdλÉϵÄÊý×Ö£¬ÀýÈç12345£¬Ê®Î»Êý×ÖÊÇ4  12345/10%10=4
 // d=0 ±íʾ¸öλ £»d=1 ±íʾʮλ...ÒÀ´ÎÀàÍÆ
 public static int digit(int d,int x){
  return x/(int)Math.pow(10, d)%10;
 }
 
 public static void ra ......

JVMÏê½âÖ®JavaÀ¬»ø»ØÊÕ»úÖÆÏê½âºÍµ÷ÓÅ £¨1£©

 1.JVMµÄgc¸ÅÊö
¡¡¡¡gc¼´À¬»øÊÕ¼¯»úÖÆÊÇÖ¸jvmÓÃÓÚÊÍ·ÅÄÇЩ²»ÔÙʹÓõĶÔÏóËùÕ¼ÓõÄÄÚ´æ¡£javaÓïÑÔ²¢²»ÒªÇójvmÓÐgc£¬Ò²Ã»Óй涨gcÈçºÎ¹¤×÷¡£²»¹ý³£ÓõÄjvm¶¼ÓÐgc£¬¶øÇÒ´ó¶àÊýgc¶¼Ê¹ÓÃÀàËƵÄËã·¨¹ÜÀíÄÚ´æºÍÖ´ÐÐÊÕ¼¯²Ù×÷¡£
¡¡¡¡ÔÚ³ä·ÖÀí½âÁËÀ¬»øÊÕ¼¯Ëã·¨ºÍÖ´Ðйý³Ìºó£¬²ÅÄÜÓÐЧµÄÓÅ»¯ËüµÄÐÔÄÜ¡£ÓÐЩÀ¬»øÊÕ¼¯×¨ÓÃÓÚÌØÊâµÄ ......

JVMÏê½âÖ®JavaÀ¬»ø»ØÊÕ»úÖÆÏê½âºÍµ÷ÓÅ £¨3£©

 5.ÈçºÎ´ÓJVMÖлñÈ¡ÐÅÏ¢À´½øÐе÷Õû
¡¡¡¡-verbose.gc¿ª¹Ø¿ÉÏÔʾgcµÄ²Ù×÷ÄÚÈÝ¡£´ò¿ªËü£¬¿ÉÒÔÏÔʾ×îæºÍ×î¿ÕÏÐÊÕ¼¯ÐÐΪ·¢ÉúµÄʱ¼ä¡¢ÊÕ¼¯Ç°ºóµÄÄÚ´æ´óС¡¢ÊÕ¼¯ÐèÒªµÄʱ¼äµÈ¡£´ò¿ª- xx:+ printgcdetails¿ª¹Ø£¬¿ÉÒÔÏêϸÁ˽âgcÖеı仯¡£´ò¿ª-XX: + PrintGCTimeStamps¿ª¹Ø£¬¿ÉÒÔÁ˽âÕâЩÀ¬»øÊÕ¼¯·¢ÉúµÄʱ¼ä£¬×ÔjvmÆô¶¯ÒÔºóÒÔ ......

Java¶àÏß³Ì: Éú²úÕßÏû·ÑÕßÎÊÌâ(Ô´Âë)

ÓÐÈË·´Ó³¿´²»µ½Ô´Â룬·¢ÏÖÊÇCSDNµÄ´úÂë¿Ø¼þÓÐÎÊÌ⡣ϣÍûCSDNºÃºÃ¸Ä½øһϡ£
ÔÝʱÏÈÒÔÎı¾·½Ê½·¢²¼³öÀ´£¬¸ñʽ»á±äÑù¡£
import java.util.LinkedList;
public class ProducerConsumer
{
 /**
  * @param args
  */
 public static void main(String[] args)
 {
  Queue queue = ......

javaÎļþ·ÃÎÊFileÀ༰Æä¹ýÂË

import java.io.*;
class FileTest
{
 public static void main(String[] args) throws Exception
 {
  //File f=new File("1.txt");
  //f.createNewFile();
  //f.mkdir();
  //File f=new File("E:\\JavaLesson\\Lesson7\\1.txt");//ÔÚWindowsϵͳÏÂ,Óþø¶Ô ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ