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
• ¹ØϵÔËËã·û: >£¬ <£¬>=£¬ <=£¬==£¬!=
• ²¼¶ûÂß¼ÔËËã·û: !£¬& , ¦ , ^ , &&£¬ ¦ ¦
• λÔËËã·û: &£¬ ¦£¬^£¬~ £
Ïà¹ØÎĵµ£º
½ñÌìÎÒѧϰÁËÐìÀÏʦ½²µÄHiberbate»º´æ֪ʶ£¬ÎÒÉÏ¿Î×öÁ˼òµ¥µÄ±Ê¼Ç£º
»º´æÀàÐÍ
Ò».ÊÂÎñ·¶Î§:λÓÚµ±Ç°¹¤×÷µ¥Ôª,²»Äܲ¢·¢·ÃÎÊ
¶þ.½ø³Ì·¶Î§:¶à¸ö¹¤×÷µ¥Ôª¹²Ïí,¿É²¢·¢·ÃÎÊ,¿É´æ´¢ÊµÀý±¾ÉíÒ²¿É´æÉ¢ÁÐÊý¾Ý,È»ºóÔÚ
& ......
ÎÒ½ñÌìѧϰÁËÉóÅúÁ÷תµÄ֪ʶ£º
1£¬ÎªÊ²Ã´ÒªÓÐÉóÅúÁ÷ת£¨Ä¿µÄ£©
2£¬ÉóÅúÁ÷תģ¿éҪʵÏֵŦÄÜ£¨ÒªÇó£©
3£¬½â¾ö·½°¸Óë½çÃæ
1£¬Ä¿µÄ
1£¬ÉóÅúÁ÷ת¾ÍÊǰѵ¥Î»ÄÚ²¿µÄ¸÷ÏîÉóÅúµç×Ó»¯£¬È繤×÷Çëʾ¡¢³ö²îÉêÇë¡¢²É¹ºÉê
Çë¡¢±¨ÏúµÈÈÕ³£¹¤×÷Á÷³Ì¡£
  ......
ÎÒ½ñÌìѧϰÁËÐìÀÏʦ½²µÄjpa£¬ÎÒ×öÁ˼òµ¥µÄ±Ê¼Ç£º
JPA(Java Persistence API)ÊÇSun¹Ù·½Ìá³öµÄJava³Ö¾Ã»¯¹æ·¶¡£ËüΪJava¿ª·¢ÈËÔ±ÌṩÁËÒ»ÖÖ¶ÔÏó/¹ØϵӳÉ乤¾ßÀ´¹ÜÀíJavaÓ¦ÓÃÖеĹØϵÊý¾Ý¡£ËûµÄ³öÏÖÖ÷ÒªÊÇΪÁ˼ò»¯ÏÖÓеij־û¯¿ª·¢¹¤×÷ºÍÕûºÏORM¼¼Êõ£¬½áÊøÏÖÔÚHibernate¡¢TopLinkµÈORM¿ò¼Ü¸÷×ÔΪӪµÄ¾ÖÃæ¡£ÖµµÃ×¢ÒâµÄÊÇ£¬JP ......
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³ÌÐòÔ±À´Ëµ£¬×îÍ´¿àµÄÊÂÇéĪ¹ýÓÚ¿ÉÒÔÑ¡ÔñµÄ·¶Î§Ì«¹ã£¬¿ÉÒÔ¶ÁµÄÊéÌ«¶à£¬ÍùÍùÈÝÒ×ÎÞËùÊÊ´Ó¡£¸ù¾ÝÎҵľÑ飬°´ÕÕѧϰµÄÏȺó˳Ðò£¬ÍƼö¸ø´ó¼Ò£¬ÌرðÊÇÄÇЩÏë²»¶ÏÌá¸ß×Ô¼º¼¼ÊõˮƽµÄJava³ÌÐòÔ±ÃÇ¡£
Ò»¡¢Java±à³ÌÈëÃÅÀà
¶ÔÓÚûÓÐJava±à³Ì¾ÑéµÄ³ÌÐòÔ±ÒªÈëÃÅ£¬Ëæ±ã¶ÁʲôÈëÃÅÊé¼®¶¼Ò»Ñù£¬Õâ¸ö½×¶ÎÐèÒªÄã¿ìËÙµÄÕÆÎÕJava ......