JavaÃæÊÔÌâ»ã×Ü(»ù´¡·½Ãæ)
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
• ¹ØϵÔËËã·û: >£¬ <£¬>=£¬ <=£¬==£¬!=
• ²¼¶ûÂß¼ÔËËã·û: !£¬& , ¦ , ^ , &&£¬ ¦ ¦
• λÔËËã·û: &£¬ ¦£¬^£¬~ £
Ïà¹ØÎĵµ£º
ÎÒ½ñÌìԤϰÁ˹¤×÷Á÷µÄ֪ʶ£¬ÎÒ×öÁ˼òµ¥µÄ±Ê¼Ç£º
¹¤×÷Á÷£¨Workflow£©
¹¤×÷Á÷¾ÍÊǹ¤×÷Á÷³ÌµÄ¼ÆËã»ú»¯£¬¼´½«¹¤×÷Á÷³ÌÖеŤ×÷ÈçºÎÇ°ºó×éÖ¯ÔÚÒ»ÆðµÄ
Âß¼ºÍ¹æÔòÔÚ¼ÆËã»úÖÐÒÔÇ¡µ±µÄÄ£ÐͽøÐбíʾ²¢¶ÔÆäʵʩ¼ÆËã¡£
¹¤×÷Á÷Òª½â¾öµÄÖ÷ÒªÎÊÌâÊÇ£ºÎªÊµÏÖij¸öÒµÎñÄ¿±ê£¬ÔÚ¶à¸ö²ÎÓëÕßÖ®¼ä£¬ÀûÓüÆ
Ëã»ú£¬°´Ä³ÖÖÔ¤¶¨¹æÔò×Ô¶¯´«µÝÎÄ ......
ÎÒ½ñÌìѧϰÁËÐìÀÏʦ½²µÄUMLͳһ½¨Ä£ÓïÑÔ£¬ÎÒ×öÁ˼òµ¥µÄ±Ê¼Ç£º
Èí¼þÉúÃüÖÜÆÚ: Èí¼þµÄ²úÉúÖ±µ½±¨·ÏµÄÉúÃüÖÜÆÚ
Èí¼þÉúÃüÖÜÆÚÄÚÓÐÎÊÌⶨÒå, ¿ÉÐÐÐÔ·ÖÎö, ×ÜÌåÃèÊö, ϵͳÉè¼Æ,±àÂë, µ÷ÊԺͲâÊÔ, ÑéÊÕÓëÔËÐÐ, ά»¤Éý¼¶µ½·ÏÆúµÈ½×¶Î
Èí¼þ¹¤³Ì¿ÉÒÔ·ÖΪÈý¸ö´óµÄ½×¶Î:ÐèÇó; Éè¼Æ; ²âÊÔÓëά»¤
Èí¼þµÄÉúÃüÖÜÆÚÏê½â£º
ÎÊÌâµ ......
javaÈ¥³ý×Ö·û´®ÖеĿոñ¡¢»Ø³µ¡¢»»Ðзû¡¢ÖƱí·û
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class StringUtil {
public static void replaceBlank()
{
Pattern p = Pattern.compile("\\s*|\t|\r|\n");
String str="I am a, I am Hello ok, \n new line ffdsa!";
System.out.p ......
ͨ¹ýʹÓÃһЩ¸¨ÖúÐÔ¹¤¾ßÀ´ÕÒµ½³ÌÐòÖеÄÆ¿¾±£¬È»ºó¾Í¿ÉÒÔ¶ÔÆ¿¾±²¿·ÖµÄ´úÂë½øÐÐÓÅ»¯¡£Ò»°ãÓÐÁ½ÖÖ·½°¸£º¼´ÓÅ»¯´úÂë»ò¸ü¸ÄÉè¼Æ·½·¨¡£ÎÒÃÇÒ»°ã»áÑ¡ÔñºóÕߣ¬ÒòΪ²»È¥µ÷ÓÃÒÔÏ´úÂëÒª±Èµ÷ÓÃһЩÓÅ»¯µÄ´úÂë¸üÄÜÌá¸ß³ÌÐòµÄÐÔÄÜ¡£¶øÒ»¸öÉè¼ÆÁ¼ºÃµÄ³ÌÐòÄܹ»¾«¼ò´úÂ룬´Ó¶øÌá¸ßÐÔÄÜ¡£
ÏÂÃ潫ÌṩһЩÔÚJAVA³ÌÐòµÄÉè¼ÆºÍ±àÂëÖУ¬ÎªÁËÄܹ» ......
this
¶ÔÏó±¾Éí¡£public class ThisTest {
ThisTest tTest;
public ThisTest(){
tTest = this;
}
public void test(){
System.out.println(this);
}
public static void main(String arg[]){
new ThisTest().test();
}
}
³ÉÔ±·½·¨ÒýÓá£
³ÉÔ±±äÁ¿ÒýÓá£public class ThisTest {
String name ......