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µÄÖ§³Ö£¬ÔÚÔËÐÐʱ¶¯Ì¬Éú³É´úÀíÀà¡£
ÔÚÕ ......
д¸öMANIFEST.MF
Manifest-Version: 1.0
Created-By: shijishang
Main-Class: test2
×¢ÒâðºÅÖ®ºóÓпոñ£¬×îºóÒª¿ÕÁ½ÐÐ
ÓÃÃüÁîjar cvfm classes.jar META-INF/MANIFEST.MF classes
д¸öCMDÃüÁî
@echo off
java -jar -verbose:class classes.jar >> class.txt
pause
µ¼³öÐèÒª¾«¼òµÄ»ù±¾Àà
ÔÙÓÃÒÔÉÏ´ò ......
Õâ¸ö¹ØÓÚJMS(Java Message Service)µÄ¸ÅÒª»Ø´ðÁËÏÂÃ漸¸öÎÊÌ⣺
1.ʲôÊÇÏûÏ¢£¿
2.ôÊÇJMS API£¿
3.ÈçºÎʹÓÃJMS API£¿
4. JMS APIÊÇÈçºÎÓëJ2EEƽ̨һÆð¹¤×÷µÄ£¿
1.1ʲôÊÇÏûÏ¢£¿
ÏûÏ¢ÊÇÈí¼þ×é¼þ»òÕßÓ¦ÓÃÖ®¼ä½»Á÷µÄÒ»ÖÖ·½·¨¡£ÏûϢϵͳÊÇÒ»¸öµã¶ÔµãµÄ¹¦ÄÜ£¬Ò»¸öÏûÏ¢¿Í»§¶Ë¿ÉÒÔ·¢ËÍºÍ½Ó ......
½ñÌìÎÒѧϰÁË·´ÉäÓë¶àÏ̵߳Ä֪ʶ
·´É䣺Class cls1=Date.class//×Ö½ÚÂë1£»
Class cls2=Person.class//×Ö½ÚÂë2£»
P1.getClass();//µÃµ½×Ö½ÚÂë
Class.forName(“java.lang.String”) //µÃµ½Õâ¸öÀàµÄ×Ö½ÚÂë
ºǫ́Ïß³ÌÓëÁªºÏÏß³Ì
l & ......