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

javaµÄ¹¤×÷Ô­Àí

1.2.1 javaÐéÄâ»ú(1)
¡¡javaÐéÄâ»úÊÇÈí¼þÄ£ÄâµÄ¼ÆËã»ú£¬¿ÉÒÔÔÚÈκδ¦ÀíÆ÷ÉÏ£¨ÎÞÂÛÊÇÔÚ¼ÆËã»úÖл¹ÊÇÔÚÆäËüµç×ÓÉ豸ÖУ©°²È«²¢ÇÒ¼æÈݵÄÖ´Ðб£´æÔÚ.classÎļþÖеÄ×Ö½ÚÂë¡£javaÐéÄâ»úµÄ"»úÆ÷Âë"±£´æÔÚ.classÎļþÖУ¬ÓÐʱҲ¿ÉÒÔ³Æ֮Ϊ×Ö½ÚÂëÎļþ¡£java³ÌÐòµÄ¿çƽ̨Ö÷ÒªÊÇÖ¸×Ö½ÚÂëÎļþ¿ÉÒÔÔÚÈκξßÓÐjavaÐéÄâ»úµÄ¼ÆËã»ú»òÕßµç×ÓÉ豸ÉÏÔËÐУ¬javaÐéÄâ»úÖеÄjava½âÊÍÆ÷¸ºÔð½«×Ö½ÚÂëÎļþ½âÊͳÉΪÌض¨µÄ»úÆ÷Âë½øÐÐÔËÐС£javaÔ´³ÌÐòÐèҪͨ¹ý±àÒëÆ÷±àÒë³ÉΪ.classÎļþ£¨×Ö½ÚÂëÎļþ£©


Ïà¹ØÎĵµ£º

javaÊý¾Ý¿âÁ¬½Ó


MySQL£º
String Driver="com.mysql.jdbc.Driver"; //Çý¶¯³ÌÐò
String URL="jdbc:mysql://localhost:3306/db_name"; //Á¬½ÓµÄURL,db_nameΪÊý¾Ý¿âÃû
String Username="username"; //̞
String Password="password"; //ÃÜÂë
Class.forName(Driver).new Instance();
......

´ÓѧJavaÖÐÈÏʶÁËÕâλû¼û¹ýµÄÀÏʦ

ËïöÎÀÏʦ´Ó98Ä꿪ʼ´ÓÊÂÈí¼þ¿ª·¢¹¤×÷£¬¸ºÔ𲢿ª·¢µÄÏîÄ¿ÓУº
¡¡¡¡
1999Ä꣬²ÉÓÃsocket±à³ÌÍê³ÉÓïÒôË«Ïò·­ÒëϵͳµÄÍøÂç´«Ê书ÄÜ¡£
¡¡¡¡2000Äê³õ£¬´ÓÊÂÓïÒôË«Ïò·­ÒëϵͳµÄÕûÌ忪·¢£¬Ê¹ÓÃvcºÍ±ê×¼c£¬´ËÏîÄ¿¾ßÓм«¸ßµÄ¼¼Êõº¬Á¿£¬ÆäÖаüÀ¨ÁËÓïÒôʶ±ð¼¼Êõ£¬ÓïÒôºÏ³É¼¼Êõ£¬»úÆ÷·­Òë¼¼Êõ£¬¶àýÌå²¥·ÅÓë´«Êä¼¼Êõ¡£²¢ÓÉ´Ë»ñµÃÁËÐÅÏ ......

java×Ö·û±àÂëÔ­ÀídzÎö

±¾ÖÜÓöµ½Ò»¸öjavaÂÒÂëÎÊÌ⣬ÓÚÊǶÔjavaµÄ±àÂëÎÊÌâ×öÁËһЩʵÑéºÍÁ˽⡣¼òµ¥·ÖÎöÈçÏ£º
ÏÈ¿´ÏÂÈçÏ´úÂ룺
import
java.io.UnsupportedEncodingException;
public
class
CharSetTest {

public
static
void
main(String[] args)
throws
UnsupportedEncodingException {
String test =
"
ÀºÇò
" ......

´«ÖDz¥¿ÍJavaÅàѵ Dom4j

    ´Ó5ÔÂ5ºÅ½øÈë¾ÍÒµ°àµ½ÏÖÔÚËÄÌìµÄʱ¼äÁË£¬ÉÏÁËÕ⼸Ìì¿Î·¢ÏÖ¾ÍÒµ°àµÄÇ¿¶ÈÕæµÄºÜ´ó£¬²»ÏñÒÔÇ°»ù´¡°àµÄʱºòÄÇô»¹±È½ÏÇáËÉ£¬ÒѾ­½¥½¥¸Ð¾õµ½Á˳ÔÁ¦£¬ÒòΪÏÖÔÚÉÏ¿ÎÐèÒª½²½âµÄ֪ʶµãÌ«¶à£¬ÓÐʱºòÏÂÎçÀÏʦ½²µ½6µã¶àÖÓ²ÅÏ¿Σ¬¿ÎÉϵÄÁ·Ï°Ê±¼äÔ½À´Ô½ÉÙÁË£¬Ö»ÄÜ×Ô¼ºÀûÓÿκóµÄʱ¼ä¶àÁ·Ï°Êµ¼ù£¬Ðí¶à¶«Î÷»¹¶¼ÊǵÚÒ»´Î ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ