´«ÖDz¥¿Íjavaѧϰ
´ó¼ÒºÃ£¬ÎÒÊÇ´«ÖDz¥¿ÍJava 11.30ÆÚ¾ÍÒµ°àµÄÒ»ÃûѧԱ¡£ÂíÉϾÍÒª½øÈë´«ÖDz¥¿Í¾ÍÒµ°àµÄѧϰÁË£¬×î½üÎÒÔÚ¸´Ï°Java»ù´¡¿Î³Ì£¬Ï£ÍûÄܹ»´òºÃ»ù´¡£¬»ý¼«Å¬Á¦µÄ½øÈë¾ÍÒµ°àµÄѧϰ¡£
½ñÌìºÜ¸ßÐËÌýÁËÕÅТÏéÀÏʦµÄ½²¿ÎÊÓƵ£¬¸Ð¾õÕÅТÏéÀÏʦµÄ½²¿Î·Ç³£Çå³þ¡¢Ï¸Ö£¬½²Ò»Ð©ÄÑÀí½âµÄ֪ʶµãʱ£¬ÎªÁËÈÃÎÒÃÇÄܹ»Àí½â£¬ÕÅТÏéÀÏʦ¾ÙÁËһЩÏÖʵÉú»îÖеÄÀý×Ó£¬ÈÃÎÒÃÇÄܹ»ºÜÈÝÒ×µÄÀí½âÄѵã֪ʶ¡£
½ñÌìÊ×ÏÈ¿´µÄÊÇÕÅÀÏʦ½²µÄ³éÏóÀࣺÕÅÀÏʦ½²µÄÎÒ¼òÂԵļÇÁËÒ»ÏÂ
1. ³éÏóÀà
a. °üº¬³éÏó·½·¨µÄÀ࣬һ¶¨Îª³éÏóÀ࣬µ«³éÏóÀàÒ²¿ÉÒÔ²»¶¨Òå³éÏó·½·¨¡£
b. ³éÏóÀ಻ÄÜʵÀý»¯£¬Ö»Äܱ»×ÓÀà¼Ì³Ð¡£
c. ×ÓÀà¼Ì³Ð³éÏóÀ࣬±ØÐëʵÏÖ³éÏóÀඨÒåµÄ³éÏó·½·¨¡£
d. abstract²»ÄܺÍfinalͬʱÐÞÊÎÒ»¸öÀ࣬ÒòΪfinalÊDz»Äܱ»¼Ì³ÐµÄÀ࣬¶øabstract·½·¨ÊÇÒ»¶¨Òª±»¼Ì³ÐµÄ¡£
e. abstract²»ÄܺÍfinal¡¢static¡¢privateͬʱÐÞÊÎÒ»¸ö·½·¨£¬ÒòΪabstract·½·¨ÊÇÒ»¶¨Òª±»¸²¸ÇµÄ£¬¶øÄÇÈý¸ö·½·¨ÊDz»Äܱ»¸²¸ÇµÄ£»
Ö®ºóÕÅÀÏʦÓÖ½²Á˽ӿڣ¬ÕÅÀÏʦÊÇÕâÑù½²µÄ£º
2. ½Ó¿Ú
a. ½Ó¿ÚÖеķ½·¨±ØÐëȥȫ²¿ÊdzéÏó·½·¨£¬¶¨Òå½Ó¿ÚʹÓÃinterfaceÀ´´úÌæclass¡£
b. ½Ó¿ÚÖеÄÓò×ÜÊÇĬÈÏʹÓÃpublic¡¢static¡¢finalΪÐÞÊηû£¬²»ÄÜʹÓÃprivateºÍprotectedÐÞÊΣ¬ÇÒ±ØÐ븳³õÖµ¡£
c. ½Ó¿ÚÖеķ½·¨Ä¬ÈÏʹÓÃpublic ¡¢abstractΪÐÞÊηû£¬²»¿ÉʹÓÃprivate¡¢protectedÐÞÊΣ¬ÇÒ²»Äܶ¨ÒåΪstatic·½·¨¡£
d. ½Ó¿Ú²»Äܱ»ÊµÀý»¯£¬Ö»Äܱ»ÆäËûÀàÀ´ÊµÏÖ£¬ËûÃÇÖ®¼äûÓи¸×Ó¹Øϵ¡£
ºóÀ´ÎÒÓÖ¿´ÁËÕÅТÏéÀÏʦ½²µÄÃæÏò¶ÔÏóµÄÌصãÊÓƵ£¬ÔÚÕâÒ»½ÚÖÐÕÅÀÏʦÖ÷Òª½²ÁËÒÔÏÂ֪ʶµã£¬ÎÒ×öÁ˼òµ¥µÄ¼Ç¼£º
1. ÒýÓÃÀàÐÍ£ºÊý×éºÍÀàÀàÐͶ¼ÊôÓÚÒýÓÃÀàÐÍ£¬·ÃÎÊÒýÓÃÀ
Ïà¹ØÎĵµ£º
ÕâÀïΪ´ó¼Ò̸̸Java´æ´¢¹ý³Ìµ÷Óã¬ÎÒÃÇ¿ÉÒÔÀûÓÃJava´æ´¢¹ý³Ì¼ò»¯Êý¾Ý¿â²Ù×÷, ÀûÓÃJava´æ´¢¹ý³Ì¹µÍ¨SQL¡¢XML¡¢Java¡¢J2EEºÍWeb·þÎñ¡£
´´½¨ÐèÒªµÄ²âÊÔ±í:create table Test(tid varchar2(10),tname varchar2(10));
µÚÒ»ÖÖÇé¿ö£ºÎÞ·µ»ØÖµ.
create or replace procedure test_a(param1 in varchar2,param2 in varchar2)as ......
public class Test2 {
public static void main(String[] args) {
// ¼òµ¥ÈÏʶÕýÔò±í´ïʽµÄ¸ÅÄî
/*
* p("abc".matches("...")); p("a8729a".replaceAll("\\d", "-")); Pattern
* p = Pattern.compile("[a-z]{3}"); Matcher m = p.match ......
Ê×ÏÈÓÐÈý¸ö¸ÅÄîÐèÒªÁ˽⣺
Ò»£®¾²Ì¬³õʼ»¯£ºÊÇÖ¸Ö´Ðо²Ì¬³õʼ»¯¿éÀïÃæµÄÄÚÈÝ¡£
¶þ£®ÊµÀý³õʼ»¯£ºÊÇÖ¸Ö´ÐÐʵÀý³õʼ»¯¿éÀïÃæµÄÄÚÈÝ¡£
Èý£®¹¹Ôì·½·¨£ºÒ»¸öÃû³Æ¸úÀàµÄÃû³ÆÒ»ÑùµÄ·½·¨£¬ÌØÊâÔÚÓÚ²»´ø·µ»ØÖµ¡£
¶ÔÓÚÕâÈý¸ö¸ÅÄ¸ø³öÒÔϳÌÐò£¬·½±ãÀí½â£º
Java´úÂë
class Book{ ......
ÓÃjava¿ª·¢Óʼþ½ÓÊÕ³ÌÐòÐèÒªÓõ½javamail°ü£¬×ÊÔ´µØÖ·£ºhttp://java.sun.com/products/javamail/£¬×îаæÊÇ JavaMail 1.4.3 £¬ÏÂÔصØÖ·ÊÇ£ºhttp://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/javamail-1.4.3.zip?BundledLineItemUUID=gqFIBe.oRjUAAAEl1r4 ......
Java 7ÒѾÍê³ÉµÄÆß´óй¦ÄÜÔ¤ÀÀ ת×Ô51CTO
½ñÄêµÄDevoxx´ó»áÓÖÊÇÒ»´ÎÓйØJava 7½ø³ÌµÄÒ»´Îչʾ´ó»á¡£Ò»Î»DevoxxµÄ²Î»áÕßÔÚ²©¿ÍÖб¨¸æÁËJava 7ÏÖÔÚÒѾÍê³ÉµÄ7´óй¦ÄÜ¡£Java 7Ô¤¼Æ½«ÔÚ2010Äê9ÔÂÕýʽµ½À´¡£
JigsawÏîÄ¿¼ò½é£ºJava 7µÄÐÂÄ£¿éϵͳ
̽ÃØJava 7ÐÂÔöÀ¬»ø»ØÊÕÆ÷G1ÌØÐÔ
̽ÃØJava 7£ºJVM¶¯Ì¬ÓïÑÔÖ ......