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

java´«ÖµÎÊÌâ.

Java´«µÝ²ÎÊýÓÐÁ½ÖÖ £ºÖµ´«µÝ£¬ÒýÓô«µÝ
Ò»°ãÒýÓÃÀàÐÍ ÊÇÒýÓô«µÝ£¬ÖµÀàÐÍÊÇÖµ´«µÝ
ÖµÀàÐÍÊÇԭʼÊý¾ÝÀàÐÍ °üÀ¨ int,byte,char short long,boolean,float,double
ÒýÓÃÀàÐ;ÍÊÇÒ»°ãµÄclassÀà µ±È»Ò²°üÀ¨Ô­Ê¼Êý¾ÝµÄ·â×°ÀàÐÍ ±ÈÈçintµÄ
·â×°ÀàÐÍΪInteger
Ò»°ãÇé¿öÏ£º
Öµ´«µÝ£º
Àý×Ó 1 public  void show1(int str)
    {
       Str=4;
    }
    public static void main(String[] args) {
int k=1;
System.out.println(id);        
 s.show1(str);
       System.out.println(id);
}
Êä³ö½á¹ûΪ    1
1
Öµ´«µÝ±íÏÖΪ ¶Ô¶¨ÒåÊý¾ÝµÄÒ»·Ý¿½±´ ²»Ó°ÏìԭʼÊý¾ÝµÄÖµ
 
ÒýÓô«µÝ
 
Àý×Ó 2 public  void show1(List list)
    {
       List.add(“dddddd”);
    }
    public static void main(String[] args) {
List list=new ArrayList()
System.out.println(list.size);        
 s.show1(list);
       System.out.println(list.size);
}
Êä³ö½á¹ûΪ    0
1
ÒýÓô«µÝ±íÏÖΪ ½«ÒýÓöÔÏóµÄÄÚ´æµØÖ·´«µÝ¸øÁË show1·½·¨
²Ù×÷ʱ show1·½·¨»á¸ù¾ÝµØÖ·È¥¸Ä±äÒýÓõÄÖµ£¬Êµ¼ÊÉϾÍÊÇÐÞ¸Ä
ÁËԭʼµÄÖµ
 
 
 
JavaÖÐStringÊǸöÌرðµÄÀà  final¹Ø¼ü×ÖÐÞÊÎ ²»Äܱ»¼Ì³Ð£¬
Ò»°ãÇé¿öÀ඼ÊôÓÚÒýÓÃÊý¾ÝÀàÐÍ
¿ÉÒÔ¿´Ò»ÏÂËûµÄ´«µÝЧ¹û
    Àý×Ó 3 public  void show1(String str)
    {
       str=new String("dddddddddddddd");
    }
    public static void main(String[] args) {
String str=new String ("liaomin");     System.out.println(str);
       s.show1(str);
       System.out.println(str);
}
 
Êä³ö½á¹ûΪ liaomin
           liaomin
 
Èç¹


Ïà¹ØÎĵµ£º

Java SE ¶à̬

/*¶à̬ʾÀý*/
package demo;
class AA {
 public void f(){
  System.out.println("f in AA");
 }
}
class BB extends AA{
 public void f(){
  System.out.println("f in BB");
 }
 
}
public class Test_Dt {
 public static void main(String[] args) ......

Flex Java ÉÏ´« ÏÂÔØ ×é¼þ

Flex Java ÉÏ´« ÏÂÔØ ×é¼þ ÊÕ²Ø
ÊÂÇ°×¼±¸¾ÍÊǵ½http://commons.apache.orgÏÂÔØcommon-fileupload-1.1.1.jarÒÔ¼°common-io-1.2.jarÁ½¸ö°ü¡£
ǰ̨Flex´úÂ룺
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns="*" creationComplet ......

javaÈÕÆÚת»»

/**
  * ´¦Àíʱ¼äÒì³£ Date to String
  * Èç¹ûת»»³öÏÖÒì³£»á¸øĬÈÏÖµ00:00
  * @param time
  * @param sdf
  * @return
  */
 public static  String handleDateParseException(Object time){
  String tempTime = "00:00";
  try{
   ......

JavaÖеÄmac¼ÆËã

          ±¨Îļø±ðÔÚÉí·ÝÈÏÖ¤ÖÐÕ¼ÖØҪλÖã¬ÊÇÈÏ֤ϵͳµÄÒ»¸öÖØÒª»·½Ú£¬ÔÚ½ðÈÚºÍÉÌҵϵͳÖй㷺ӦÓá£
          ±¨Îļø±ð³£Óñ¨Îļø±ðÂ루Message Authentication Code,¼´MAC£©×÷Ϊ¼ø±ðµÄ»ù´¡£¬
     ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ