Ö÷Ì⣺Java³ÌÐòÔ±µÄ֪ʶ¼Ü¹¹Ç³Îö
×÷ΪJava³ÌÐòÔ±À´Ëµ£¬×îÍ´¿àµÄÊÂÇéĪ¹ýÓÚ¿ÉÒÔÑ¡ÔñµÄ·¶Î§Ì«¹ã£¬¿ÉÒÔ¶ÁµÄÊéÌ«¶à£¬ÍùÍùÈÝÒ×ÎÞËùÊÊ´Ó¡£ÎÒÏë¾ÍÎÒ×Ô¼º¶Á¹ýµÄ¼¼ÊõÊé¼®ÖÐÌôÑ¡³öÀ´Ò»Ð©£¬
°´ÕÕѧϰµÄÏȺó˳Ðò£¬ÍƼö¸ø´ó¼Ò£¬ÌرðÊÇÄÇЩÏë²»¶ÏÌá¸ß×Ô¼º¼¼ÊõˮƽµÄJava³ÌÐòÔ±ÃÇ¡£
Ò»¡¢Java±à³ÌÈëÃÅÀà
¶ÔÓÚûÓÐJava±à³Ì¾ÑéµÄJava³ÌÐòÔ±ÒªÈëÃÅ£¬Ëæ±ã¶ÁʲôÈëÃÅÊé¼®¶¼Ò»Ñù£¬Õâ¸ö½×¶ÎÐèÒªÄã¿ìËÙµÄÕÆÎÕJava»ù´¡Óï·¨ºÍ»ù±¾Ó÷¨£¬×ÚÖ¼¾ÍÊÇ“àñ
àðÍÌÔæ²»ÇóÉõ½â”£¬ÏȶÔJavaÊìϤÆðÀ´ÔÙ˵¡£Óú̵ܶÄʱ¼ä¿ìËÙ¹ýÒ»±éJavaÓï·¨£¬Á¬ã´ø²Â¶àдд´úÂ룬Ҫ“ÖªÆäÈ»”¡£
1¡¢¡¶Java±à³Ì˼Ïë¡·
ÔÚÓÐÁËÒ»¶¨µÄJava±à³Ì¾ÑéÖ®ºó£¬ÄãÐèÒª“ÖªÆäËùÒÔÈ»”ÁË¡£Õâ¸öʱºò¡¶Java±à³Ì˼Ïë¡·ÊÇÒ»±¾ÈÃÄãÖªÆäËùÒÔÈ»µÄºÃÊ飬Ëü¶ÔÓÚ»ù±¾µÄÃæÏò¶ÔÏó֪ʶ
ÓбȽÏÇå³þµÄ½»´ý£¬¶ÔJava»ù±¾Óï·¨£¬»ù±¾Àà¿âÓбȽÏÇå³þµÄ½²½â£¬¿ÉÒÔ°ïÄã´òÒ»¸öÁ¼ºÃµÄJava±à³Ì»ù´¡¡£Õâ±¾ÊéµÄȱµãÊÇʵÔÚÌ«ºñ£¬Ò²±È½ÏÂÞ࣬²»ÊʺÏ
ÏÖ´úÈË¿ì½Ú×àѧϰ£¬Òò´Ë¿´Õâ±¾ÊéÒª¶®µÃÈ¡Éᣬ²»ÊÇÿÕÂÿ½Ú¶¼ÖµµÃÒ»¿´µÄ£¬ÌôÖصãµÄÉîÈë¿´¾Í¿ÉÒÔÁË¡£
2¡¢¡¶Agile Java¡·ÖÐÎÄ°æ
Õâ±¾ÊéÊdzö°æÉçË͸øÎҵģ¬ÎÒÒ»Äõ½¾ÍÊøÖ®¸ß¸ó£¬·ÅÔÚÊé¹ñÒ»Ò³¶¼Ã»Óз¹ý£¬µ«ÊÇÇ°Á½ÌìÕûÀíÊé¹ñµÄʱºò£¬ÄóöÀ´Ò»·£¬¾¹È»·¢ÏÖÕâ¾ø¶ÔÊÇÒ»±¾ºÃÊ飡Õâ±¾Êé
Ò»´óÌصãÊÇÒÔµ¥Ôª²âÊÔºÍTDDÀ´¹á´©È«ÊéµÄ£¬ÔÚ½ÌÄãJava¸÷ÖÖÖØÒªµÄ»ù´¡ÖªÊ¶µÄ¹ý³ÌÖУ¬Ç±ÒÆĬ»¯µÄÓ°ÏìÄãµÄ±à³Ì˼ά×ßÏòÃô½Ý£¬×ßÏòTDD¡£ÁíÍâÕâ±¾Êé³É
ÊéºÜУ¬ÒÔJDK5.0µÄÓ﷨Ϊ»ù´¡½²½â£¬ÒªÑ§Ï°JDK5.0µÄÐÂÓï·¨Ò²²»´í¡£»¹ÓÐÕâ±¾Êé¶ÔÓÚÄÚÈÝÈ¡ÉáÒ²·Ç³£µÃµ±£¬JavaÓïÑԱϾ¹Àà¿âÅӴ󣬿ÉÒÔ½²µÄÄÚ
ÈÝÌ«¶à£¬Õâ±¾ÊéÑ¡ÔñµÄÄÚÈÝÒÔ¼°ÄÚÈݵĶà¹Ñ¶¼ºÜµÃµ±£¬¿ÉÒÔÈÃÄãÒÔ×îÉÙµÄʱ¼äÕÆÎÕJava×îÖØÒªµÄ֪ʶ£¬Ë³±ãÅàÑø³öÀ´ÓÅÐãµÄ±à³Ì˼·£¬ÕæÊÇÒ»±¾²»¿É¶àµÃµÄºÃ
Êé¡£
ËäÈ»×÷Õß×Ô¼º°ÑÕâ±¾Ê鶨λÔÚÈëÃż¶±ð£¬µ«ÎÒ²»È·¶¨Õâ±¾ÊéÓÃÀ´ÈëÃÅÊDz»ÊÇÉÔ΢ÉîÁ˵㣬ÎÒ×Ô¼ºÒ²×¼±¸ÓпյÄʱºò··Õâ±¾Ê飬ѧϰѧϰ¡£
¶þ¡¢Java±à³Ì½ø½×Àà
´òÏÂÒ»¸öÁ¼ºÃµÄJava»ù´¡£¬»¹ÐèÒª¸ü¶àµÄʵ¼ù¾Ñé»ýÀÛ£¬ÎÒÏëûÓÐʲô½Ý¾¶¡£ÓÐÁ½±¾ÊéÖµµÃÄãÔÚ±à³ÌÉúÑĵÄÕâ¸ö½×¶ÎÔĶÁ£¬ÅàÑøÁ¼ºÃµÄ±à³ÌÏ°¹ß£¬Ìá¸ßÄã
µÄ´úÂëÖÊÁ¿¡£
1¡¢¡¶Öع¹ ¸ÄÉƼÈÓдúÂëµÄÉè¼Æ¡·
Õâ±¾ÊéÃûÆøºÜ´ó£¬²»Óöà½éÉÜ£¬¿ÉÒÔÔÚÏÐϾµÄʱºò¶à··£¬¶àºÍ×Ô¼ºµÄʵ¼ùÏ໥ӡ֤¡£Õâ±¾Êé¶ÔÄã²úÉúÓ°ÏìÊÇDZÒÆĬ»¯µÄ¡£
2¡¢¡¶²âÊÔÇý¶¯¿ª·¢ by Example¡·
±¾Êé×î´óÌصãÊǺܱ¡£¬¿´ÆðÀ´Ã»ÓÐʲô¸ºµ£¡£Äã¿ÉÒÔÕÒÒ»¸öÖÜÄ©µÄÏÂÎ磬һ
Ïà¹ØÎĵµ£º
import java.io.*;
import java.lang.String;
public class Switchover {
public static String[] strChi = {"Áã","Ò¼","·¡","Èþ","ËÁ","Îé","½","Æâ","°Æ","¾Á"};
public static String[] strUnits = {"","","Ê°","°Û","Ǫ","Íò","Ê°","°Û","Ǫ","ÒÚ","Ê°","°Û","Ǫ","Õ×","Ê°","°Û","Ǫ","½Ç","·Ö"};
//ÑéÖ¤Êä ......
FileÀà
Ò»¸öFileÀàµÄ¶ÔÏ󣬱íʾÁË´ÅÅÌÉϵÄÎļþ»òĿ¼¡£
FileÀàÌṩÁËÓëƽ̨Î޹صķ½·¨À´¶Ô´ÅÅÌÉϵÄÎļþ»òĿ¼½øÐвÙ×÷
Á÷ʽI/O
Á÷(Stream)ÊÇ×Ö½ÚµÄÔ´»òÄ¿µÄ¡£
Á½ÖÖ»ù±¾µÄÁ÷ÊÇ£ºÊäÈëÁ÷(Input Stream)ºÍÊä³öÁ÷(Output Stream)¡£¿É´ÓÖжÁ³öһϵÁÐ×ֽڵĶÔÏó³ÆΪÊäÈëÁ÷¡£¶øÄÜÏòÆäÖÐдÈëһϵÁÐ×ֽڵĶÔÏó³ÆΪÊä³öÁ÷¡£
Á÷µ ......
ÄÚÈÝ£º
¡¡¡¡Ê²Ã´ÊÇ·´±àÒ룿
¡¡¡¡·´»ã±àÒ»¸öÀàÎļþ
¡¡¡¡Ê¹Ó÷´±àÒëÆ÷
¡¡¡¡·´±àÒëºÍ¶Ô°²È«µÄÍþв
¡¡¡¡Õë·æÏà¶ÔµÄ´úÂëÄ£ºý´¦Àí
¡¡¡¡ÕâÒ»ÁìÓòµÄгÉÔ±
¡¡¡¡×ܽá
¡¡¡¡²Î¿¼×ÊÁÏ
¡¡¡¡¹ØÓÚ×÷Õß
¡¡¡¡ÆÀ¼Û±¾ÎÄ
¡¡¡¡Ïà¹ØÄÚÈÝ£º
¡¡¡¡ÈÃÄúµÄÈí¼þÔËÐУºÄ£ºý°²È«ÐÔ
¡¡¡¡Java ºÍ·Ö²¼Ê½Ä¿±êϵͳÉϵݲȫÐÔÑо¿
¡ ......
/**
* @param source: source image file
* @param output: output image file
* @param mode: 0 ratio,1 maxWidth,2 maxHeight,3 maxSide
* @param maxSide: maxWidth, maxHeight or maxSide, different by mode
* @param ratio: ratio if resized by ratio
*/
public static void resizeImage(File ......
Ö÷ÒªÊÇ×ö¸÷µØÒøÐеÄÍâΧϵͳ£¬ÀýÈçµç×Ó»ãƱ¡¢·´Ï´Ç®ÏµÍ³µÈ£¬ÓÐÐËȤµÄ¿ÉÒÔ¼ÓÎÒQQ£¨429177125£©¾ßÌåÁÄ£¬ÃæÊԵصãÔÚ±±¾©Êк£µíÇøκ¹«´å¡£
¾ßÌåÈçÏ£º
Java¹¤×÷¾Ñ飬2-3Äê
ÈíÐÔÒªÇó£º ÒÔϹ¤×÷¾ÑéÖ®Ò»ÕßÓÅÏÈ¡£1¡¢ ÓÐÒøÐй¤×÷¾ ......