java×Ü½á µÚÒ»ÕÂ
µÚÒ»ÕÂ
¿Î³Ì¸ÅÊö
javaµÄÉè¼ÆÄ¿±ê
¼òµ¥
¿ÉÒÆÖ²--
ÃæÏò¶ÔÏó--
·Ö²¼Ê½¶ÔÏó
¸ßÐÔÄÜ
½¡×³
°²È«
¶¯Ì¬
Ìåϵ½á¹¹ÖÐÁ¢
javaÊDZà³ÌÓïÑÔ Ìåϵ¼Ü¹¹ ˼¿¼·½Ê½ ÔËÐл·¾³
javaÈýÖÖºËÐÄ
javaÐéÄâ»ú jvm
À¬»øÊÕ¼¯»úÖÆ
´úÂ밲ȫÐÔ¼ì²â
¼ÆËã»ú¸ß¼¶ÓïÑÔÀàÐÍ£º±àÒëÐÍ ½âÊÍÐÍ
javaÊÇÁ½ÖÖÀàÐ͵ĽáºÏ
javaÔ´³ÌÐò ×Ö½ÚÂëÎļþ »úÆ÷ÂëÖ¸Áî
jre(javaÔËÐл·¾³)=jvm+runtime interpreter
javaµÄÀ¬»ø»ØÊÕ»úÖÆ ÊÇϵͳ¸ºÔð
jdk java¿ª·¢¹¤¾ß¼¯
path Ö¸¶¨ÏµÍ³¿ÉÖ´ÐÐÖ¸Áî·¾¶
classpath Ö¸¶¨javaÀàÎļþ´æ·Å·¾¶
Ò»¸öÔ´ÎļþÖÁ¶àÖ»ÄÜÓÐÒ»¸öpublicµÄclassÉùÃ÷
Ïà¹ØÎĵµ£º
Javaѧϰ´ÓÈëÃŵ½¾«Í¨
Ò»¡¢ JDK (Java Development Kit)
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......
ÀàµÄ³õʼ»¯ºÍ¶ÔÏó³õʼ»¯ÊÇ JVM ¹ÜÀíµÄÀàÐÍÉúÃüÖÜÆÚÖзdz£ÖØÒªµÄÁ½¸ö»·½Ú£¬Google ÁËÒ»±éÍøÂ磬ÓйØÀà×°ÔØ»úÖƵÄÎÄÕµ¹ÊDz»ÉÙ£¬È»¶øÀà³õʼ»¯ºÍ¶ÔÏó³õʼ»¯µÄÎÄÕ²¢²»¶à£¬ÌرðÊÇ´Ó×Ö½ÚÂëºÍ JVM ²ã´ÎÀ´·ÖÎöµÄÎÄÕ¸üÊÇÏÊÓÐËù¼û¡£
±¾ÎÄÖ÷Òª¶ÔÀàºÍ¶ÔÏó³õʼ»¯È«¹ý³Ì½øÐзÖÎö£¬Í¨¹ýÒ»¸öʵ¼ÊÎÊÌâÒýÈ룬½«Ô´´úÂëת»»³É JVM ×Ö½ÚÂëºó£¬ ......
import java.awt.*;
import java.awt.event.*;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import javax.swing.*;
public class ElectToo extends JFrame implements ActionListener,ItemListener
{
static ElectToo frm=new ElectToo();
static Save ......
ÔÚ¿ªÊ¼Õâ¸ö¼Æ»®Ç°£¬ÎÒÏ뻹ÊÇÏëºÍ´ó¼Ò·ÖÏíÒ»ÏÂÎÒ¶ÔδÀ´Java֮·µÄã¿ã½£¬ËäÈ»JavaµÄĸ¹«Ë¾SunÔÚ¾ÊÜ×ÅOracle¹«Ë¾ÊÕ¹º£¬µ¼ÖÂ×ÅÕû¸öJavaÕóÓªµÄÒ»ÕóÒìÒ飬µ«ÊÇ×îеÄJavaEE 1.6µÄ±ê×¼µÄÖƶ¨£¬»¹ÊÇ¿ÉÒÔ¿´³öJavaÏÖÔÚÈÔÈ»³äÂú×ÅÉúÃüÁ¦£¬ÖÁÉÙÔÚ×î½ü5Ä껹Êǻᱣ³ÖËûÇ¿´óµÄÉúÃüÁ¦¡£ ......
Îå¡¢javaµÄÃæÏò¶ÔÏó³ÌÐòÉè¼Æ(ÀàºÍ¶ÔÏó)
/**
* ÃæÏò¶ÔÏóÖ®Ò»
* ÀàÓë¶ÔÏó
*/
/**
* ¶ÔÏóµÄʵÀý»¯¹ý³Ì:
* 1,javaÖÐËùÓÐÀàÐÍÔÚÄÚ´æµÄ·ÖÅäÇé¿ö
* a,»ù±¾ÀàÐÍ"±äÁ¿"char,byte,short,int,long,float,double,boolean´æ´¢ÔÚ¶ÑÕ»ÖÐ
* ¶ÑÕ»ÊÇͨ¹ý¶ÑÕ»Ö¸Õë°´ÕÕÏȽøÏȳöµÄ¶ÁÈ ......