javaÖеÄÀàÐÍת»»
javaÖеÄÀàÐÍת»»¡£
¶ÔÓÚ»ù±¾Êý¾ÝÀàÐÍ£¬µ±ÓÉ“ÕÀàÐ͔תΪ“¿íÀàÐ͔ʱ£¨ÀýÈ磺double d = 1;), ±àÒëÆ÷»á×Ô¶¯ÌáÉýintÐ͵½doubleÐÍ£¬ ¶ø¶ÔÓÚÓÉ“¿íÀàÐ͔תΪ“ÕÀàÐÍ”£¨ÀýÈ磺 int i = (int)1.0;£© ʱ£¬ÓÉÓÚת»»Ê±¿ÉÄÜÓÐÐÅÏ¢¶ªÊ§µÄΣÏÕ£¬ËùÒÔPGÈËÔ±±ØÐëÏÔʾµÄ±íÃ÷£¬Ï൱ÓÚÊǸæËß±àÒëÆ÷“ÎÒÖªµÀÕâÑù×öÓÐΣÏÕ£¬µ«ÊÇÎÒ¼á³ÖÕâÑù×ö£¡”¡£
Ïà¹ØÎĵµ£º
create PROCEDURE pagelist
@tablename nvarchar(50),
@fieldname nvarchar(50)='*',
@pagesize int output,--ÿҳÏÔʾ¼Ç¼ÌõÊý
@currentpage int output,--µÚ¼¸Ò³
@orderid nvarchar(50),--Ö÷¼üÅÅÐò
@sort int,--ÅÅÐò·½Ê½£¬1±íʾÉýÐò£¬0±íʾ½µÐòÅÅÁÐ
......
ÔÚ¿ªÊ¼Õâ¸ö¼Æ»®Ç°£¬ÎÒÏ뻹ÊÇÏëºÍ´ó¼Ò·ÖÏíÒ»ÏÂÎÒ¶ÔδÀ´Java֮·µÄã¿ã½£¬ËäÈ»JavaµÄĸ¹«Ë¾SunÔÚ¾ÊÜ×ÅOracle¹«Ë¾ÊÕ¹º£¬µ¼ÖÂ×ÅÕû¸öJavaÕóÓªµÄÒ»ÕóÒìÒ飬µ«ÊÇ×îеÄJavaEE 1.6µÄ±ê×¼µÄÖƶ¨£¬»¹ÊÇ¿ÉÒÔ¿´³öJavaÏÖÔÚÈÔÈ»³äÂú×ÅÉúÃüÁ¦£¬ÖÁÉÙÔÚ×î½ü5Ä껹Êǻᱣ³ÖËûÇ¿´óµÄÉúÃüÁ¦¡£ ......
µÚÒ»ÕÂ
¿Î³Ì¸ÅÊö
javaµÄÉè¼ÆÄ¿±ê
¼òµ¥
¿ÉÒÆÖ²--
ÃæÏò¶ÔÏó--
·Ö²¼Ê½¶ÔÏó
¸ßÐÔÄÜ
½¡×³
°²È«
¶¯Ì¬
Ìåϵ½á¹¹ÖÐÁ¢
javaÊDZà³ÌÓïÑÔ Ìåϵ¼Ü¹¹ ˼¿¼·½Ê½ ÔËÐл·¾³
javaÈýÖÖºËÐÄ
javaÐéÄâ»ú jvm
À¬»øÊÕ¼¯»úÖÆ
´úÂ밲ȫÐÔ¼ì²â
¼ÆËã»ú¸ß¼¶ÓïÑÔÀàÐÍ£º±àÒëÐÍ ½âÊÍÐÍ
javaÊÇÁ½ÖÖÀàÐ͵ĽáºÏ
javaÔ´³ÌÐò ×Ö½ÚÂëÎļþ »úÆ ......
µÚÆßÕÂ
¸ß¼¶ÀàÌØÕ÷
static
ÀàÊôÐÔÓɸÃÀàµÄËùÓÐʵÀý¹²Ïí
public static int total=0;
µ±totalËùÊôÀà±»Êý´ÎʵÀý»¯µÄʱºò totalÖ»ÓÐÒ»¸ö¶ø²»ÊǶà¸ö
Ò²¿É¾²Ì¬³õʼ»¯static
public static int total£»
static{
total=100;
}
static±ê¼ÇµÄ±äÁ¿»òÕß·½·¨ÓÉÕû¸öÀà(ËùÓÐʵÀý)¹²Ïí
µ¥×Óģʽ
class Single{
......
Java 2 ƽ̨ÒýÈëÁË java.lang.ref °ü£¬ÆäÖаüÀ¨µÄÀà¿ÉÒÔÈÃÄúÒýÓöÔÏ󣬶ø²»½«ËüÃÇÁôÔÚÄÚ´æÖС£ÕâЩÀ໹ÌṩÁËÓëÀ¬»øÊÕ¼¯Æ÷£¨garbage collector£©Ö®¼äÓÐÏ޵Ľ»»¥¡£Peter Haggar ÔÚ±¾ÎÄÖзÖÎöÁË SoftReference ¡¢ WeakReference ºÍ PhantomReference ÀàµÄ¹¦ÄܺÍÐÐΪ£¬²¢¾ÍÕâЩÀàµÄʹÓøø³öÁËһЩ±à³Ì·ç¸ñÉϵĽ¨Òé¡£
µ±ÔÚ Ja ......