Java½Ó¿ÚºÍJava³éÏóÀà
ÔÚûÓкúõØÑÐÏ°ÃæÏò¶ÔÏóÉè¼ÆµÄÉè¼Æģʽ֮ǰ£¬ÎÒ¶ÔJava½Ó¿ÚºÍJava³éÏóÀàµÄÈÏʶ»¹ÊǺÜÄ£ºý£¬ºÜ²»¿ÉÀí½â¡£
¸ÕѧJavaÓïÑÔʱ£¬¾ÍºÜÄÑÀí½âΪʲôҪÓнӿÚÕâ¸ö¸ÅÄËä˵ÊÇ¿ÉÒÔʵÏÖËùνµÄ¶à¼Ì³Ð£¬¿ÉÒ»¸öÖ»Óз½·¨Ãû£¬Ã»Óз½·¨ÌåµÄ¶«Î÷£¬ÎÒʵÏÖËüÓÖÓÐʲôÓÃÄØ£¿ÎÒ´ÓËüÄÇʲôҲµÃ²»µ½£¬³ýÁËһЩ·½·¨Ãû£¬ÎÒÖ±½ÓÔÚ¾ßÌåÀàÀï¼ÓÈëÕâЩ·½·¨²»¾ÍÐÐÁËÂð£¿
Ϊʲôһ¶¨ÒªÓгéÏóÀàÕâ¸ö¸ÅÄΪʲô¾Í²»ÄÜ°ÑÕâ¸ö¸¸Ààд³ÉÒ»¸ö¾ßÌåµÄÀ࣬×ÓÀàÔټ̳ÐËü²»¾Í¿ÉÒÔÁËÂ𣿺αØŪһ¸ö³éÏóÀà³öÀ´£¬»¹ÒªÅªÒ»Ð©Ã»Óз½·¨ÌåµÄ³éÏó·½·¨£¬ÅªµÃÓÖÏó½Ó¿ÚÓÖÏóÀàµÄ£¬ÈÃÈË×½Ãþ²»¶¨¡£
µ±ÎÒ¿ªÊ¼Ñ§Ï°javaÉè¼Æģʽ£¬ÕæÕý×ß½øÃæÏò¶ÔÏóÉè¼ÆµÄ´óÃÅÖ®ºó£¬ÎҲŷ¢ÏÖ£¬×Ô¼º¶ÔÃæÏò¶ÔÏóÉè¼ÆµÄÀí½âÔÀ´ÊÇÄÇôµÄ
ƬÃ棬ÄÇôµÄ·ôdz£¬¸ù±¾¾ÍûÓÐÕæÕýÀí½âÃæÏò¶ÔÏó˼ÏëµÄ¾«Ë裬ÔÚijһÖ̶ֳÈÉÏ»¹ÊÜ×ÅÃæÏò¹ý³ÌµÄÓ°Ï죬ÒÔΪŪ³öÁËÒ»¸ö¸öÀ࣬¾ÍËãÊÇÃæÏò¶ÔÏóÁË£¬¶øÆäʵ»¹ÊDZ»¹ý
³ÌËùÇýʹ×Å¡£
ÎÒ»¹ÊÇ˵˵ÎÒÏÖÔÚ¶ÔÃæÏò¶ÔÏó˼ÏëµÄÀí½â°É£¬²»Ò»¶¨ÕýÈ·È«Ã棬µ«ÎÒÏëÓ¦¸Ã»¹ËãÊDZÈÒÔÇ°ÂÔÓнø²½°É
ÃæÏò¶ÔÏó˼Ï룬ÎÒ¾õµÃ×î¹Ø¼üµÄ¾ÍÊdzéÏó¡£
Ò»¸öÈí¼þÉè¼ÆµÄºÃ»µ£¬ÎÒÏëºÜ´ó³Ì¶ÈÉÏÈ¡¾öÓÚËüµÄÕûÌå¼Ü¹¹£¬¶øÕâ¸öÕûÌå¼Ü¹¹Æäʵ¾ÍÊÇÄã¶ÔÕû¸öºê¹ÛÉÌÒµÒµÎñµÄ³éÏó¿ò¼Ü£¬
µ±´ú±íÒµÎñÂß¼µÄ¸ß²ã³éÏó²ã½á¹¹ºÏÀíʱ£¬Äãµ×²ãµÄ¾ßÌåʵÏÖÐèÒª¿¼Âǵľͽö½öÊÇһЩËã·¨ºÍһЩ¾ßÌåµÄÒµÎñʵÏÖÁË¡£µ±ÄãÐèÒªÔÙ¿ª·¢ÁíÒ»¸öÏà½üµÄÏîĿʱ£¬ÄãÒÔÇ°
µÄ³éÏó²ã˵²»¶¨»¹¿ÉÒÔÔÙ´ÎÀûÓÃÄØ£¬Ãæ¶Ô¶ÔÏóµÄÉè¼Æ£¬¸´ÓõÄÖصãÆäʵӦ¸ÃÊdzéÏó²ãµÄ¸´Ó㬶ø²»ÊǾßÌåijһ¸ö´úÂë¿éµÄ¸´Óã¬ÊDz»ÊÇÒ»ÏÂ×Ӹоõ×Ô¼º¶Ô¸´ÓÃÀí½âµÄ
¸ß¶ÈÓÖÉÏÉýÁËÒ»²ã£¿^_^
˵µ½Á˳éÏó£¬ÎҾͲ»Äܲ»Ìáµ½ÔøÈÃÎÒÍ·Í´µÄJava½Ó¿ÚºÍJava³éÏóÀàÁË£¬ÕâÒ²ÊDZ¾ÎÄÎÒÏë˵µÄÖص㡣
¼ÈÈ»ÃæÏò¶ÔÏóÉè¼ÆµÄÖصãÔÚÓÚ³éÏó£¬ÄÇJava½Ó¿ÚºÍJava³éÏóÀà¾ÍÓÐËü´æÔڵıØÈ»ÐÔÁË¡£
Java½Ó¿ÚºÍJava³éÏóÀà´ú±íµÄ¾ÍÊdzéÏóÀàÐÍ£¬¾ÍÊÇÎÒÃÇÐèÒªÌá³öµÄ³éÏó²ãµÄ¾ßÌå±íÏÖ¡£OOPÃæÏò¶ÔÏóµÄ±à³Ì£¬Èç
¹ûÒªÌá¸ß³ÌÐòµÄ¸´ÓÃÂÊ£¬Ôö¼Ó³ÌÐòµÄ¿Éά»¤ÐÔ£¬¿ÉÀ©Õ¹ÐÔ£¬¾Í±ØÐëÊÇÃæÏò½Ó¿ÚµÄ±à³Ì£¬ÃæÏò³éÏóµÄ±à³Ì£¬ÕýÈ·µØʹÓýӿڡ¢³éÏóÀàÕâЩ̫ÓÐÓõijéÏóÀàÐÍ×öΪÄã½á¹¹
²ã´ÎÉϵĶ¥²ã¡£
Java½Ó¿ÚºÍJava³éÏóÀàÓÐÌ«¶àÏàËƵĵط½£¬ÓÖÓÐÌ«¶àÌرðµÄµØ·½£¬¾¿¾¹ÔÚʲôµØ·½£¬²ÅÊÇËüÃǵÄ×î¼ÑλÖÃÄØ£¿°ÑËüÃDZȽÏһϣ¬Äã¾Í¿ÉÒÔ·¢ÏÖÁË¡£
1¡¢Java½Ó¿ÚºÍJava³éÏóÀà×î´óµÄÒ»¸öÇø±ð£¬¾ÍÔÚÓÚJava³éÏóÀà¿ÉÒÔÌṩijЩ·½·¨µÄ²¿·ÖʵÏÖ£¬¶øJava½Ó¿Ú²»¿ÉÒÔ£¬Õâ´ó¸Å¾ÍÊÇJava³éÏ
Ïà¹ØÎĵµ£º
Çë²Î¼ûÉÏһƪÎÄÕ£¬µÇ¼MSNÐÒé
¾ßÌåJavaʵÏÖ:
ÃüÁîÐòÁУº<<´ú±í·¢ËÍ,>>´ú±í½á¹û
1.Á¬½ÓDS(Dispatcher Server)£¬µÃµ½NS(Notification Server)
<<VER 1 MSNP18 CVR0
>>VER 1 MSNP18
<<CVR 2 0x0804 winnt 5.1 i386 MSNMSGR 14.0.8089.0726 msmsgs yourAccount
>>CVR 2 14.0.8089 ......
JavaÁ¬½ÓmysqlÊý¾Ý¿â£¬´úÂë¾¹ýÔËÐÐ׼ȷÎÞÎó¡£
ÏÂÃæΪʵÀý---->
ÓÃÊý¾Ý¿â²Ù×ݹ¤¾ß£¨Àý£ºSQLyogEnt£©²Ù×Ýmysql½¨±í£¬»òdosϽ¨£¬ÈçÏ£º
Êý¾Ý¿âÃû£ºscutcs
±íÃû£ºstudent
±íÄÚÈÝ£º
sno char[7] NO NULL Primary Key;
sname varchar[8] NO NULL;
sex char[2] NO NULL; ......
1.½«Int,Float,Double,Longת»»ÎªString
String s = ""+i;
String s = String.valueOf(i);
String s = Integer.toString(i);
µÚÒ»ÖÖ·½·¨£ºs = ""+i; //»á²úÉúÁ½¸öString¶ÔÏó
µÚ¶þÖÖ·½·¨£ºs=String.valueOf(i); //Ö±½ÓʹÓÃStringÀàµÄ¾²Ì¬·½·¨£¬Ö»²úÉúÒ»¸ö¶ÔÏó
µÚÈýÖÖ·½·¨£ºÐ§ÂÊ×î¸ß£¿
2.½«Stringת»»ÎªIn ......
try {
String source = "xxx.xls";
InputStream is = new FileInputStream(source);
Workbook rwb = Workbook.getWorkbook(is);
Sheet sheet = rwb.getSheet(0);
for (int i = 1; i < sheet.getRows(); i++) {
for (int j = 1; j < sheet.getColumns(); j++) {
//»ñÈ¡Ö¸¶¨µ¥Ôª¸ñ ......
ÖØдµÄÖ÷ÒªÓŵãÊÇÄܹ»¶¨Òåij¸ö×ÓÀàÌØÓеÄÌØÕ÷:
Èç:
public class Father
{
public void speak()
&nb ......