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

javaÖеÄÀàÐÍת»»

   javaÖеÄÀàÐÍת»»¡£
   ¶ÔÓÚ»ù±¾Êý¾ÝÀàÐÍ£¬µ±ÓÉ“Õ­ÀàÐ͔תΪ“¿íÀàÐ͔ʱ£¨ÀýÈ磺double d = 1;), ±àÒëÆ÷»á×Ô¶¯ÌáÉýintÐ͵½doubleÐÍ£¬ ¶ø¶ÔÓÚÓÉ“¿íÀàÐ͔תΪ“Õ­ÀàÐÍ”£¨ÀýÈ磺  int i = (int)1.0;£© ʱ£¬ÓÉÓÚת»»Ê±¿ÉÄÜÓÐÐÅÏ¢¶ªÊ§µÄΣÏÕ£¬ËùÒÔPGÈËÔ±±ØÐëÏÔʾµÄ±íÃ÷£¬Ï൱ÓÚÊǸæËß±àÒëÆ÷“ÎÒÖªµÀÕâÑù×öÓÐΣÏÕ£¬µ«ÊÇÎÒ¼á³ÖÕâÑù×ö£¡”¡£
  


Ïà¹ØÎĵµ£º

JavaÊä³öJVMºÍ²Ù×÷ϵͳµÄÏà¹ØÊôÐÔ zz

Ö÷ÒªÊÇÀûÓÃJavaÌṩµÄutil°üÖеÄPropertiesÀà¡£·Ï»°²»¶à˵£¬Ö±½Ó¿´´úÂ룺
view plaincopy to clipboardprint?
import java.util.*;
public class YourJavaProperties {
public static void main(String args[]){
Properties props=System.getProperties();
System.out.println("JavaµÄÔËÐл·¾³°æ±¾£º"+props.getP ......

java×Ü½á µÚÁùÕÂ

µÚÁùÕÂ
javaÀàÉè¼Æ
extendsÀàµÄ¼Ì³Ð
objectÀàÊÇËùÓÐjavaÀàµÄ×î¸ß²ã¸¸Àà
javaÖ»Ö§³Öµ¥¼Ì³Ð ²»ÔÊÐí¶àÖؼ̳Ð
Ò»¸ö×ÓÀàÖ»ÓÐÒ»¸ö¸¸Àà Ò»¸ö¸¸Àà¿ÉÓÃÓжà¸ö×ÓÀà
public default protected public
·½·¨ÖØд
ÔÚ×ÓÀà¿ÉÓøù¾ÝÐèÒª¶Ô¸¸Àà¼Ì³ÐµÄ·½·¨½øÐиÄÔì--·½·¨µÄÖØд
ÖØд·½·¨±ØÐëºÍ±»ÖØд·½·¨¾ßÓÐÏàͬµÄ·½·¨Ãû³Æ ²ÎÊýÁбí ......

java×Ü½á µÚ¾ÅÕÂ

µÚ¾ÅÕÂ
»ùÓÚÎı¾µÄjavaÓ¦ÓóÌÐò
inputsreamreader is=new inputstreamreader(system.in)
bufferedreader br=new bufferedreader(is)
s=br.readline();
while(!s.euqal("")){}
FLIE f=new file()
filereader ÒÔ×Ö·ûΪµ¥Î»
bufferedreaderÀàµÄreadline
ÒÔÐÐΪµ¥Î»¶ÁÈëÒ»ÐÐ×Ö·û
filewriterÒÔ×Ö·ûΪµ¥Î»ÏòÎļþд³öÊý¾ ......

»ùÓÚJava 2ƽ̨µÄÒýÓÃÀàʹÓÃÖ¸ÄÏ

Java 2 ƽ̨ÒýÈëÁË java.lang.ref °ü£¬ÆäÖаüÀ¨µÄÀà¿ÉÒÔÈÃÄúÒýÓöÔÏ󣬶ø²»½«ËüÃÇÁôÔÚÄÚ´æÖС£ÕâЩÀ໹ÌṩÁËÓëÀ¬»øÊÕ¼¯Æ÷£¨garbage collector£©Ö®¼äÓÐÏ޵Ľ»»¥¡£Peter Haggar ÔÚ±¾ÎÄÖзÖÎöÁË SoftReference ¡¢ WeakReference ºÍ PhantomReference ÀàµÄ¹¦ÄܺÍÐÐΪ£¬²¢¾ÍÕâЩÀàµÄʹÓøø³öÁËһЩ±à³Ì·ç¸ñÉϵĽ¨Òé¡£
µ±ÔÚ Ja ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ