java¾µäÌâÄ¿
Â¥Ö÷·¢±íÓÚ£º2008-06-17 15:26:20
l JBS
1.Áоٳö 10¸öJAVAÓïÑÔµÄÓÅÊÆ
a:Ãâ·Ñ£¬¿ªÔ´£¬¿çƽ̨(ƽ̨¶ÀÁ¢ÐÔ)£¬¼òµ¥Ò×Ó㬹¦ÄÜÍêÉÆ£¬ÃæÏò¶ÔÏ󣬽¡×³ÐÔ£¬¶àỊ̈߳¬½á¹¹ÖÐÁ¢£¬ÆóÒµÓ¦ÓõijÉÊìƽ̨, ÎÞÏßÓ¦ÓÃ
2.ÁоٳöJAVAÖÐ10¸öÃæÏò¶ÔÏó±à³ÌµÄÊõÓï
a:°ü£¬À࣬½Ó¿Ú£¬¶ÔÏó£¬ÊôÐÔ£¬·½·¨£¬¹¹ÔìÆ÷£¬¼Ì³Ð£¬·â×°£¬¶à̬£¬³éÏ󣬷¶ÐÍ
3.ÁоٳöJAVAÖÐ6¸ö±È½Ï³£Óõİü
Java.lang;java.util;java.io;java.sql;java.awt;java.net;java.applet;javax.swing
4.JAVAÖеıêʶ·ûÓÐʲô×÷ÓúÍÌصã
×÷Ó㺱êʶ·ûÓÃ×÷¸ø±äÁ¿¡¢ÀàºÍ·½·¨ÃüÃû
Ìص㣺¿ÉÒÔÒÔ×Öĸ¡¢Ï»®Ïß“_”ºÍ”$”·û¿ªÍ·
Ê××Ö·ûÍ⣬¿ÉÒÔ¸úÉÏ×Öĸ¡¢Ï»®Ïß“_”ºÍ”$”·û»òÊý×Ö
JavaÊÇ´óСдÃô¸ÐµÄ£¬±êʶ·ûÒ²²»ÀýÍâ
5.JAVAÖеĹؼü×ÖÓÐʲôÌصã,ÁоٳöÖÁÉÙ20¸ö¹Ø¼ü×Ö
JavaÖÐһЩ¸³ÒÔÌض¨µÄº¬Òå¡¢²¢ÓÃ×öרÃÅÓÃ;µÄµ¥´Ê³ÆΪ¹Ø¼ü×Ö£¨keyword£©
ËùÓÐJava¹Ø¼ü×Ö¶¼ÊÇСдµÄ£¬TURE¡¢FALSE¡¢NULLµÈ¶¼²»ÊÇJava¹Ø¼ü×Ö £»
gotoºÍconst ËäÈ»´Óδ±»Ê¹Ó㬵«Ò²×÷ΪJava¹Ø¼ü×Ö±£Áô£»
• ÖÐÒ»¹²ÓÐ51¸ö¹Ø¼ü×ÖJava
abstract assert boolean break byte continue
case catch char class const double
default do extends else final float
for goto long if implements import
native new null instanceof int interface
package private protected public return short
static strictfp super switch synchronized this
while void throw throws transient try
volatile
6.JAVAÖÐÊý¾ÝÀàÐÍÈçºÎ·ÖÀࣿ
¿É·ÖΪ¼òµ¥Êý¾ÝÀàÐͺÍÒýÓÃÊý¾ÝÀàÐÍ:
¼òµ¥Êý¾ÝÀàÐÍ£ºÊýÖµÐÍ£¨byte,short,int,long,float double)£¬×Ö·ûÐÍ(char)£¬²¼¶ûÐÍ(boolean);
ÒýÓÃÊý¾ÝÀàÐÍ£ºÀ࣬½Ó¿Ú£¬Êý×é.
7.JAVAÖÐÔËËã·ûµÄ·ÖÀ༰¾ÙÀý
• ·Ö¸î·û£º,£¬;£¬[]£¬()
• ËãÊõÔËËã·û: +£¬¨D£¬*£¬/£¬%£¬++£¬¨D¨D
• ¹ØϵÔËËã·û: >£¬ <£¬>=£¬ <=£¬==£¬!=
• ²¼¶ûÂß¼ÔËËã·û: !£¬& , | , ^ , &&£¬||
• λ
Ïà¹ØÎĵµ£º
Javaѧϰ´ÓÈëÃŵ½¾«Í¨
Ò»¡¢ JDK (Java Development Kit)
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......
javaÖеľ²Ì¬´úÀíÓ붯̬´úÀí
±¾À´´òËã½ñÌìдµãjpa·½ÃæµÄ¶«Î÷£¬½á¹û¸ãÉÏÁË´úÀí£¬Ë÷ÐԾͰÑÑо¿³É¹û·Å³öÀ´°É£¬javaÖеĴúÀíÓÐÁ½ÖÖÒ»ÖÖÊǾ²Ì¬´úÀíÒ»ÖÖÊǶ¯Ì¬´úÀí£¬¾²Ì¬´úÀíÆäʵºÜÈÝÒ×Àí½â£¬¾²Ì¬´úÀíÆäʵ¾ÍÊǸö×°ÊÎÆ÷¶øÒÑ£¬¶ø¶¯Ì¬´úÀíÔò½èÖúÓÚjvmµÄÖ§³Ö£¬ÔÚÔËÐÐʱ¶¯Ì¬Éú³É´úÀíÀà¡£
ÔÚÕ ......
package com.wepull.jbs.lesson4;
import java.util.Random;
/**
* ÅÅÐò²âÊÔÀà
*
* ÅÅÐòËã·¨µÄ·ÖÀàÈçÏ£º
* 1.²åÈëÅÅÐò£¨Ö±½Ó²åÈëÅÅÐò¡¢ÕÛ°ë²åÈëÅÅÐò¡¢Ï£¶ûÅÅÐò£©£»
* 2.½»»»ÅÅÐò£¨Ã°ÅÝÅÝÅÅÐò¡¢¿ìËÙÅÅÐò£©£»
* 3.Ñ¡ÔñÅÅÐò£¨Ö±½ÓÑ¡ÔñÅÅÐò¡¢¶ÑÅÅÐò£©£»
......
Sun·¢²¼ÁËJava SE 6 Beta
£¨ÒÔϼò³Æ6£©£¬²éÁ˲鹦ÄܸĽø
£¬Ã»Óз¢ÏÖʲô¼¤¶¯ÈËÐĵı仯¡£ÌôÁ˼¸ÌõÉÔ΢¸ÐÐËȤһµãµÄÆÀ¼Ûһϡ£
jconsole is more user-friendly
6µÄн¨Á¬½ÓµÄ´°¿ÚÓзdz£´óµÄ¸Ä±ä¡£ÔÚLocal Process´°¿ÚÁгöÁËËùÓб¾µØjava½ø³Ì£¨°üÀ¨jconsole±¾Éí£©£¬²»ÄÜͨ¹ýJconsole½øÐйÜÀíµÄ½ø³Ì´¦ÓÚdisable× ......