JAVA³õѧÕß±ØÖª
1. Java Ô´ÎļþÖÐ×î¶àÖ»ÄÜÓÐÒ»¸öpublicÀà,¶øÇÒÕâ¸öÀàµÄÀàÃûÒªºÍÎļþÃûÒ»ÖÂ.ÆäËûÀàµÄ¸öÊý²»ÏÞ¡£
2. ÃæÏò¶ÔÏó³ÌÐòÉè¼ÆµÄÌØÕ÷£¨·â×°ÐÔ£©£¨¼Ì³Ð£©£¨¶à̬ÐÔ£©
3. ½Ó¿ÚÊÇÓÉ£¨³éÏó·½·¨£©ºÍ£¨³£Á¿£©×é³ÉµÄÌØÊâÀà
4. ÓÃstaticÐÞÊεķ½·¨ÊÇ£¨¾²Ì¬·½·¨£¬»òÀà·½·¨£©
5. ÔÚ²úÉúÒì³£µÄ·½·¨ÉùÃ÷ÖÐÉùÃ÷»á²úÉúµÄÒì³££¬Ïò¸ü¸ßÒ»¼¶·½·¨Å׳öÒì³£µÄ¹Ø¼ü×ÖÊÇ£ºthrows
6. ×ÓÀàͨ¹ý£¨super£©¹Ø¼ü×Öµ÷Óø¸ÀàµÄ¹¹Ôì·½·¨¡£
7. JavaµÄ±ê×¼Êä³öÁ÷ÊÇ£¨System.out£©¡£
8. ʵÏּ̳еĹؼü×Ö£¨extends£©¡£
9. JVMÊÇ£¨JavaÐéÄâ»ú--java virtual machine£©
JDKÊÇ£¨java¿ª·¢¹¤¾ß°ü--Java Developer's Kit £©
appletviewerÊÇ(СӦÓóÌÐòÔÄÀÀÆ÷) ¡£
10. Óû§²»ÄÜÖ±½Óµ÷Óù¹Ôì·½·¨£¬Ö»ÄÜͨ¹ý£¨new £©¹Ø¼ü×Ö×Ô¶¯µ÷Óá£
11. ÔÚ Java ÖУ¬ÓÉJava±àÒëÆ÷×Ô¶¯µ¼È룬¶øÎÞÐèÔÚ³ÌÐòÖÐÓÃimportµ¼ÈëµÄ°üÊÇ£¨java.lang.*£©
12. ÔÚ Java ÖУ¬ÄÜʵÏÖ¶àÖؼ̳ÐЧ¹ûµÄ·½Ê½ÊÇ£¨ÊµÏÖ¶à¸ö½Ó¿Ú£©
13. ´´½¨°üµÄÓï¾äÓ¦¸Ã·ÅÔÚ³ÌÐòµÄλÖÃΪ£¨·Ç×¢Ê͵ĵÚÒ»ÐУ©¡£
14. Óã¨abstract£©¹Ø¼ü×ÖÐÞÊεÄÀàÖ»Äܱ»¼Ì³Ð£¬²»ÄÜÉú³ÉÆä¶ÔÏó¡£
15. ͨ¹ýµ÷ÓÃThreadÀàµÄ£¨start£©·½·¨À´Æô¶¯Ò»¸öÏ̡߳£
16. ¶¨Òå°üµÄ¹Ø¼ü×Ö£¨package£©
17. Java²»Ö§³Ö¶àÖؼ̳У¬µ«¿Éͨ¹ý£¨½Ó¿Úinterface£©ÊµÏÖ¶à¼Ì³Ð¡£
18. JavaÔ´³ÌÐò¾±àÒëÉú³ÉµÄ×Ö½ÚÂëÎļþµÄÀ©Õ¹ÃûΪ£¨class£©
19. JavaµÄºËÐÄ°üÖУ¬Ìṩ±à³ÌÓ¦ÓõĻù±¾ÀàµÄ°üÊÇ£¨×Ô¼º²éһϣ©
20. ÿ¸öJavaÓ¦ÓóÌÐò¿ÉÒÔ°üÀ¨Ðí¶à·½·¨£¬µ«±ØÐëÓÐÇÒÖ»ÄÜÓÐÒ»¸ö£¨main£©·½·¨¡£
21. µ±ÊµÏÖRunnable½Ó¿Úʱ£¬ÒªÊµÏֵķ½·¨ÊÇ£¨public void run()£©
22. ʹÓã¨throw£©¹Ø¼ü×Ö¿ÉÒÔÃ÷È·µØÅ׳öÒ»¸öÒì³£
Ïà¹ØÎĵµ£º
Javaѧϰ´ÓÈëÃŵ½¾«Í¨
Ò»¡¢ JDK (Java Development Kit)
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......
2009-04-14 16:39
½üˮ¥̨ÏȵÃÔ£¬ÏòÑô»¨Ä¾Ò×Ϊ´º--------ËÕ÷ë
»º´æµÄ×÷ÓÃÔÚµÚÒ»ÂÛhttp://hi.baidu.com/%CB%BC%C3%F4%D3%EA/blog/item/908d0cdecbc8a71b495403cc.htmlÖÐÒÑÓв¿·Ö²ûÊö,ÏÂÃæahuaxuanºÍ´ó¼ÒÒ»ÆðÀ´Ñ§Ï°Ò»Ï»º´æµÃÁíÍâÒ»¸öÖØÒªµÄ¹æÔò,½üºÍ¿ì.
ÔÚÎÒÃÇ´ò¿ªä¯ÀÀÆ÷,¾ö¶¨ä¯ÀÀij¸öÍøҳ֮ǰ(Ö¸ÈËÑÛ¿´µ½ÆÁÄ»ÉϵÄÄÚÈ ......
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Properties;
public class SystemProperties
{
public static String LINE_SEPARATOR = "line.separator";
public static String FILE_SEPARATOR = "file.separator";
public static String USER_LANGUAGE = "user.language";
......
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.HashMap;
public class ThreadLog
{
private final static String _detailLogFile = "log"+File.separator+"detail";
private static boolean _logFlag = true;
priv ......
1:Ó¦ÓóÌÐò²»ÔÙÐèҪʹÓà Class.forName() ÏÔʽµØ¼ÓÔØ JDBC Çý¶¯³ÌÐò¡£µ±Ç°Ê¹Óà Class.forName() ¼ÓÔØ JDBC Çý¶¯³ÌÐòµÄÏÖÓгÌÐò½«ÔÚ²»×÷Ð޸ĵÄÇé¿öϼÌÐø¹¤×÷¡£
2:ÐèҪעÒâÒÔÏÂÃüÁ
executeUpdate£ºÊÇ×î»ù´¡µÄÊý¾Ý¿âµÄ¸üС¢²åÈëºÍɾ³ý²Ù×÷¡£Ð§ÂʵÍÏ¡£
executeQuery£ºÊÇ×î»ù´¡µÄÖ´ÐвéѯÓï¾ä£¬Í¬Ñù ......