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

Java±àÒë»·¾³°²×°

Java±àÒë»·¾³°²×°
1¡¢JDK
     JDK-6-windows-i586.exe°²×°¡£
     ÆäÖУ¬JDK°üº¬ÁËJRE¡¢JVM¡£
     A¡¢JRE
     B¡¢JVM
JavaÐéÄâ»ú
ʲôÊÇJavaÐéÄâ»ú
JavaÐéÄâ»úÊÇÒ»¸öÏëÏóÖеĻúÆ÷,ÔÚʵ¼ÊµÄ¼ÆËã»úÉÏͨ¹ýÈí¼þÄ£ÄâÀ´ÊµÏÖ¡£JavaÐéÄâ»úÓÐ×Ô¼ºÏëÏóÖеÄÓ²¼þ,Èç´¦ÀíÆ÷¡¢¶ÑÕ»¡¢¼Ä´æÆ÷µÈ,»¹¾ßÓÐÏàÓ¦µÄÖ¸Áîϵͳ¡£
1.ΪʲôҪʹÓÃJavaÐéÄâ»ú
JavaÓïÑÔµÄÒ»¸ö·Ç³£ÖØÒªµÄÌصã¾ÍÊÇÓëƽ̨µÄÎÞ¹ØÐÔ¡£¶øʹÓÃJavaÐéÄâ»úÊÇʵÏÖÕâÒ»ÌصãµÄ¹Ø¼ü¡£Ò»°ãµÄ¸ß¼¶ÓïÑÔÈç¹ûÒªÔÚ²»Í¬µÄƽ̨ÉÏÔËÐÐ,ÖÁÉÙÐèÒª±àÒë³É²»Í¬µÄÄ¿±ê´úÂë¡£¶øÒýÈëJavaÓïÑÔÐéÄâ»úºó,JavaÓïÑÔÔÚ²»Í¬Æ½Ì¨ÉÏÔËÐÐʱ²»ÐèÒªÖØбàÒë¡£JavaÓïÑÔʹÓÃģʽJavaÐéÄâ»úÆÁ±ÎÁËÓë¾ßÌåƽ̨Ïà¹ØµÄÐÅÏ¢,ʹµÃJavaÓïÑÔ±àÒë³ÌÐòÖ»ÐèÉú³ÉÔÚJavaÐéÄâ»úÉÏÔËÐеÄÄ¿±ê´úÂë(×Ö½ÚÂë),¾Í¿ÉÒÔÔÚ¶àÖÖƽ̨Éϲ»¼ÓÐ޸ĵØÔËÐС£JavaÐéÄâ»úÔÚÖ´ÐÐ×Ö½ÚÂëʱ,°Ñ×Ö½ÚÂë½âÊͳɾßÌåƽ̨ÉϵĻúÆ÷Ö¸ÁîÖ´ÐС£
2.Ë­ÐèÒªÁ˽âJavaÐéÄâ»ú
JavaÐéÄâ»úÊÇJavaÓïÑԵײãʵÏֵĻù´¡,¶ÔJavaÓïÑÔ¸ÐÐËȤµÄÈ˶¼Ó¦¶ÔJavaÐéÄâ»úÓиö´ó¸ÅµÄÁ˽⡣ÕâÓÐÖúÓÚÀí½âJavaÓïÑÔµÄһЩÐÔÖÊ,Ò²ÓÐÖúÓÚʹÓÃJavaÓïÑÔ¡£¶ÔÓÚÒªÔÚÌض¨Æ½Ì¨ÉÏʵÏÖJavaÐéÄâ»úµÄÈí¼þÈËÔ±,JavaÓïÑԵıàÒëÆ÷×÷ÕßÒÔ¼°ÒªÓÃÓ²¼þоƬʵÏÖJavaÐéÄâ»úµÄÈËÀ´Ëµ,Ôò±ØÐëÉî¿ÌÀí½âJavaÐéÄâ»úµÄ¹æ·¶¡£ÁíÍâ,Èç¹ûÄãÏëÀ©Õ¹JavaÓïÑÔ,»òÊÇ°ÑÆäËüÓïÑÔ±àÒë³ÉJavaÓïÑÔµÄ×Ö½ÚÂë,ÄãÒ²ÐèÒªÉîÈëµØÁ˽âJavaÐéÄâ»ú¡£
3.JavaÐéÄâ»úÖ§³ÖµÄÊý¾ÝÀàÐÍ
JavaÐéÄâ»úÖ§³ÖJavaÓïÑԵĻù±¾Êý¾ÝÀàÐÍÈçÏÂ:
byte://1×Ö½ÚÓзûºÅÕûÊýµÄ²¹Âë
short://2×Ö½ÚÓзûºÅÕûÊýµÄ²¹Âë
int://4×Ö½ÚÓзûºÅÕûÊýµÄ²¹Âë
long://8×Ö½ÚÓзûºÅÕûÊýµÄ²¹Âë
float://4×Ö½ÚIEEE754µ¥¾«¶È¸¡µãÊý
double://8×Ö½ÚIEEE754Ë«¾«¶È¸¡µãÊý
char://2×Ö½ÚÎÞ·ûºÅUnicode×Ö·û
¼¸ºõËùÓеÄJavaÀàÐͼì²é¶¼ÊÇÔÚ±àÒëʱÍê³ÉµÄ¡£ÉÏÃæÁгöµÄԭʼÊý¾ÝÀàÐ͵ÄÊý¾ÝÔÚJavaÖ´ÐÐʱ²»ÐèÒªÓÃÓ²¼þ±ê¼Ç¡£²Ù×÷ÕâЩԭʼÊý¾ÝÀàÐÍÊý¾ÝµÄ×Ö½ÚÂë(Ö¸Áî)±¾Éí¾ÍÒѾ­Ö¸³öÁ˲Ù×÷ÊýµÄÊý¾ÝÀàÐÍ,ÀýÈçiadd¡¢ladd¡¢faddºÍdaddÖ¸ÁÊÇ°ÑÁ½¸öÊýÏà¼Ó,Æä²Ù×÷ÊýÀàÐͱðÊÇint¡¢long¡¢floatºÍdouble¡£ÐéÄâ»úûÓиøboolean(²¼¶û)ÀàÐÍÉèÖõ¥¶ÀµÄÖ¸Áî¡£booleanÐ͵ÄÊý¾ÝÊÇÓÉintegerÖ¸Áî,°üÀ¨integer·µ»ØÀ´´¦ÀíµÄ¡£booleanÐ͵ÄÊý×éÔòÊÇÓÃbyteÊý×éÀ´´¦ÀíµÄ¡£ÐéÄâ»úʹÓÃIEEE754¸ñʽµÄ¸¡µãÊý¡£²»Ö§³ÖIEEE¸ñʽµÄ½Ï¾ÉµÄ¼ÆËã»ú,ÔÚÔ


Ïà¹ØÎĵµ£º

java³ÌÐòÔ±µÄ»ù±¾¹¦

ÊìϤ JavaÓïÑÔ¼°ÃæÏò¶ÔÏóÉè¼Æ˼Ïë
  ¾ßÓÐÔúʵµÄJava±à³Ì¹¦µ×ºÍÁ¼ºÃµÄ±àÂë¹æ·¶
  ÊìϤJsprvlet¿ª·¢£¨Model1¡¢Model2£©
  ÊìϤMVCÉè¼Æģʽ
  ÊìÁ·ÕÆÎÕHTMLÓïÑÔ¡¢JavaScript½Å±¾ÓïÑÔ¡¢XMLÓïÑÔ  
  ÊìÁ·ÕÆÎÕWebwork¿ò¼Ü£¬Äܹ»ÊìÁ·ÔËÓÃWebwrok¿ò¼Ü½øÐÐweb ......

JavaѧϰµÄ30¸öÄ¿±ê¼°Æä½×¶Î·ÖÀà

       1.ÄãÐèÒª¾«Í¨ÃæÏò¶ÔÏó·ÖÎöÓëÉè¼Æ(OOA/OOD)¡¢É漰ģʽ(GOF£¬J2EEDP)ÒÔ¼°×ÛºÏģʽ¡£ÄãÓ¦¸ÃÊ®·ÖÁ˽âUML£¬ÓÈÆäÊÇclass£¬object£¬interactionÒÔ¼°statediagrams¡£
¡¡¡¡2.ÄãÐèҪѧϰJAVAÓïÑԵĻù´¡ÖªÊ¶ÒÔ¼°ËüµÄºËÐÄÀà¿â(collections£¬serialization£¬streams£¬networking£¬ multithreading ......

Effective Java ѧϰ±Ê¼Ç(4)

Õâ¸öÔ­ÔòºÜ¼òµ¥£¬¾ÍÊÇʹÓÃ˽Óй¹Ô캯Êý·ÀÖ¹À౻ʵÀý»¯¡£ ÓÐʱ£¬ÎÒÃÇ»áдһЩ¹¤¾ßÀ࣬Èçjava.lang.Math »òÊÇ java.util.Arrays, ÕâЩÀàÖж¼ÊǾ²Ì¬º¯Êý£¬ÔÚÉè¼ÆµÄʱºò£¬ÕâЩÀಢ²»ÊÇÓÃÀ´±»ÊµÀý»¯µÄ¡£Õâ¸öʱºò£¬¾ÍºÜÓбØÒª°Ñ¹¹Ô캯Êý˽Óл¯¡£ public class UtilityClass {

private UtilityClass() {
throw ne ......

[ת]javaÖÐbyteת»»intʱΪºÎÓë0xff½øÐÐÓëÔËËã

ÔÚÆÊÎö¸ÃÎÊÌâÇ°Çë¿´ÈçÏ´úÂë
public static String bytes2HexString(byte[] b) {
  String ret = "";
  for (int i = 0; i < b.length; i++) {
   String hex = Integer.toHexString(b[ i ] & 0xFF);
   if (hex.length() == 1) {
    hex = '0' ......

Java¿ª·¢WebServiceʵÀý ¼ÆÊýÆ÷


Ò»¡¢Ç°ÑÔ
   ±¾Îļٶ¨ÄãÓÐÒ»¶¨µÄJ2EE¿ª·¢¾­Ñ飬Õâ¸ö½Ì³ÌûÓйý¶àµÄÉæ¼°»ù´¡ÖªÊ¶ºÍ¿ª·¢Ï¸½Ú¡£Èç¹ûÔÚÔĶÁ¹ý³Ì³öÓÐʲôÎÊÌ⣬»¹ÇëÓëÎÒÁªÏµ½»Á÷¡£
     Èç¹ûʹÓÃGOOGLE¡¢BAIDUµÈËÑË÷¹¤¾ß£¬ËÑË÷WebServiceµÄÏà¹Ø֪ʶ£¬¿ÉÒԲ鵽N¶àµÄÍøÒ³£¬ÎÒ¾ÍÊÇͨ¹ýÕâЩÍøÒ³µÄѧϰ£¬Öð½¥ÕÆÎÕÁËЩW ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ