Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Java¶àÏ̱߳à³Ì×ܽá

ת×Ô:http://lavasoft.blog.51cto.com/62575/27069
Java¶àÏ̱߳à³Ì×ܽá
 
Ò»¡¢ÈÏʶ¶àÈÎÎñ¡¢¶à½ø³Ì¡¢µ¥Ï̡߳¢¶àÏß³Ì
ÒªÈÏʶ¶àÏ߳̾ÍÒª´Ó²Ù×÷ϵͳµÄÔ­Àí˵Æð¡£
 
ÒÔÇ°¹ÅÀϵÄDOS²Ù×÷ϵͳ£¨V 6.22£©Êǵ¥ÈÎÎñµÄ£¬»¹Ã»ÓÐÏ̵߳ĸÅÄϵͳÔÚÿ´ÎÖ»ÄÜ×öÒ»¼þÊÂÇé¡£±ÈÈçÄãÔÚcopy¶«Î÷µÄʱºò²»ÄÜrenameÎļþÃû¡£ÎªÁËÌá¸ßϵͳµÄÀûÓÃЧÂÊ£¬²ÉÓÃÅú´¦ÀíÀ´ÅúÁ¿Ö´ÐÐÈÎÎñ¡£
 
ÏÖÔڵIJÙ×÷ϵͳ¶¼ÊǶàÈÎÎñ²Ù×÷ϵͳ£¬Ã¿¸öÔËÐеÄÈÎÎñ¾ÍÊDzÙ×÷ϵͳËù×öµÄÒ»¼þÊÂÇ飬±ÈÈçÄãÔÚÌý¸èµÄͬʱ»¹ÔÚÓÃMSNºÍºÃÓÑÁÄÌì¡£Ìý¸èºÍÁÄÌì¾ÍÊÇÁ½¸öÈÎÎñ£¬Õâ¸öÁ½¸öÈÎÎñÊǓͬʱ”½øÐеġ£Ò»¸öÈÎÎñÒ»°ã¶ÔÓ¦Ò»¸ö½ø³Ì£¬Ò²¿ÉÄÜ°üº¬ºÃ¼¸¸ö½ø³Ì¡£±ÈÈçÔËÐеÄMSN¾Í¶ÔÓ¦Ò»¸öMSNµÄ½ø³Ì£¬Èç¹ûÄãÓõÄÊÇ windowsϵͳ£¬Äã¾Í¿ÉÒÔÔÚÈÎÎñ¹ÜÀíÆ÷Öп´µ½²Ù×÷ϵͳÕýÔÚÔËÐеĽø³ÌÐÅÏ¢¡£
 
Ò»°ãÀ´Ëµ£¬µ±ÔËÐÐÒ»¸öÓ¦ÓóÌÐòµÄʱºò£¬¾ÍÆô¶¯ÁËÒ»¸ö½ø³Ì£¬µ±È»ÓÐЩ»áÆô¶¯¶à¸ö½ø³Ì¡£Æô¶¯½ø³ÌµÄʱºò£¬²Ù×÷ϵͳ»áΪ½ø³Ì·ÖÅä×ÊÔ´£¬ÆäÖÐ×îÖ÷ÒªµÄ×ÊÔ´ÊÇÄÚ´æ¿Õ¼ä£¬ÒòΪ³ÌÐòÊÇÔÚÄÚ´æÖÐÔËÐеġ£ÔÚ½ø³ÌÖУ¬ÓÐЩ³ÌÐòÁ÷³Ì¿éÊÇ¿ÉÒÔÂÒÐòÖ´Ðеģ¬²¢ÇÒÕâ¸ö´úÂë¿é¿ÉÒÔͬʱ±»¶à´ÎÖ´ÐС£Êµ¼ÊÉÏ£¬ÕâÑùµÄ´úÂë¿é¾ÍÊÇÏß³ÌÌå¡£Ïß³ÌÊǽø³ÌÖÐÂÒÐòÖ´ÐеĴúÂëÁ÷³Ì¡£µ±¶à¸öÏß³ÌͬʱÔËÐеÄʱºò£¬ÕâÑùµÄÖ´ÐÐģʽ³ÉΪ²¢·¢Ö´ÐС£
 
¶àÏ̵߳ÄÄ¿µÄÊÇΪÁË×î´óÏ޶ȵÄÀûÓÃCPU×ÊÔ´¡£
 
Java±àд³ÌÐò¶¼ÔËÐÐÔÚÔÚJavaÐéÄâ»ú£¨JVM£©ÖУ¬ÔÚJVMµÄÄÚ²¿£¬³ÌÐòµÄ¶àÈÎÎñÊÇͨ¹ýÏß³ÌÀ´ÊµÏֵġ£Ã¿ÓÃjavaÃüÁîÆô¶¯Ò»¸öjava Ó¦ÓóÌÐò£¬¾Í»áÆô¶¯Ò»¸öJVM½ø³Ì¡£ÔÚͬһ¸öJVM½ø³ÌÖУ¬ÓÐÇÒÖ»ÓÐÒ»¸ö½ø³Ì£¬¾ÍÊÇËü×Ô¼º¡£ÔÚÕâ¸öJVM»·¾³ÖУ¬ËùÓгÌÐò´úÂëµÄÔËÐж¼ÊÇÒÔÏß³ÌÀ´ÔËÐС£
 
Ò»°ã³£¼ûµÄJavaÓ¦ÓóÌÐò¶¼Êǵ¥Ï̵߳ġ£±ÈÈ磬ÓÃjavaÃüÁîÔËÐÐÒ»¸ö×î¼òµ¥µÄHelloWorldµÄJavaÓ¦ÓóÌÐòʱ£¬¾ÍÆô¶¯ÁËÒ»¸ö JVM½ø³Ì£¬JVMÕÒµ½³ÌÐò³ÌÐòµÄÈë¿Úµãmain()£¬È»ºóÔËÐÐmain()·½·¨£¬ÕâÑù¾Í²úÉúÁËÒ»¸öỊ̈߳¬Õâ¸öÏ̳߳Æ֮ΪÖ÷Ï̡߳£µ±main·½·¨½áÊøºó£¬Ö÷Ïß³ÌÔËÐÐÍê³É¡£JVM½ø³ÌÒ²Ëæ¼´Í˳ö ¡£
 
¶ÔÓÚÒ»¸ö½ø³ÌÖеĶà¸öÏß³ÌÀ´Ëµ£¬¶à¸öÏ̹߳²Ïí½ø³ÌµÄÄÚ´æ¿é£¬µ±ÓÐеÄÏ̲߳úÉúµÄʱºò£¬²Ù×÷ϵͳ²»·ÖÅäеÄÄڴ棬¶øÊÇÈÃÐÂÏ̹߳²ÏíÔ­ÓеĽø³Ì¿éµÄÄÚ´æ¡£Òò´Ë£¬Ï̼߳äµÄͨÐźÜÈÝÒ×£¬ËÙ¶ÈÒ²ºÜ¿ì¡£²»Í¬µÄ½ø³ÌÒòΪ´¦ÓÚ²»Í¬µÄÄÚ´æ¿é£¬Òò´Ë½ø³ÌÖ®¼äµÄͨÐÅÏà¶ÔÀ§ÄÑ¡£
 
ʵ¼ÊÉÏ£¬²Ù×÷µÄϵͳµÄ¶à½ø³ÌʵÏÖÁ˶àÈÎÎñ²¢·¢Ö´ÐУ¬³ÌÐòµÄ¶àÏß³ÌʵÏÖÁ˽ø³ÌµÄ²¢·¢Ö´ÐС£¶àÈÎÎ


Ïà¹ØÎĵµ£º

java Óë c# ¶Ô±È ˼¿¼

´ÓʱàÂë7Äê¶àÁË
¶ÔÓÚjava ºÍc# ÎÒÓÐ×Å×Ô¼ºµÄÀí½â
ÔÚ2009ÄêµÄ9ÔÂÕâ¸öʱ¼äµãÎÒ¿´À´java  c#ÊÇÐÂʽÓïÑԵĴú±í
{ÒòΪÎÒÈÏΪ¼ÆËã»úµÄ·¢Õ¹Àú³ÌÊÇ
µÚÒ»½×¶Î ´ò¿×»ú(¶þ½øÖÆ),
µÚ2½×¶Î »ã±à, (±È¶þ½øÖÆ·½±ãµÄÓïÑÔ),
µÚ3½×¶Î c (¸üÒ×ÓÚ¿´Ã÷°×µÄ¸ß¼¶ÓïÑÔ),
µÚ4½×¶ÎµÚ1²ã c++ (´Ó¶ÔÏó½Ç¶ÈÀí½âµÄ¸ß¼¶ÓïÑÔ),
µÚ4½×¶ÎµÚ2² ......

java±¸·Ýsql serverÊý¾Ý¿â ´æ´¢¹ý³Ì

½ñÌì¸ø´ó¼Ò·ÖÏíÒ»ÏÂÈçºÎ±¸·ÝºÍ»Ø¸´sql server Êý¾Ý£¬
Ê×ÏÈÈ·±£Äã¾ßÓÐDBµÄ×î¸ßȨÏÞ
ÔÚJAVA´úÂëÖÐ Äã¿ÉÒÔÕâÑùдpublic class Opp extends TestCase{
public void test1()
{
try
{
Connection con = DBUtils.getConn();
String sql="backup database tdzl to disk='d:\\tdzl.bak'";
Statement st = con.c ......

java¶ÁдËøʵÏÖ»úÖÆ

package thread.lock;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import java.util.concurrent.locks.ReentrantReadWriteLock;
/**
 * @file_name ReadAndWriteLockDemo.java
 * @description ¶ÁÐ ......

JavaÖжÁÈ¡propertiesÎļþµÄ¼¸ÖÖ·½·¨

¡¡1¡¢Ê¹ÓÃjava.util.ResourceBundleÀàµÄgetBundle()·½·¨
ʾÀý£º
String name = "logging"; // the logging.properties file in src root folder
ResourceBundle rb = ResourceBundle.getBundle(name,Locale.getDefault());
// test the rb
String propertyKey = "xxx";
System.out.println(rb.getString(propert ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ