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

java ²ð·ÖÓëºÏ²¢×Ö·û´®


 ÀýÈ磺һ¸ö×Ö·û´®£º123fsf¶á
 ¸ÄºóҪΪ£º1%2%3%f%s%f%¶á
´úÂëÈçÏÂ
           String a="123fsf¶á";
            char[] b=a.toCharArray();//×Ö·û´®²ð·Ö³É×Ö·û
            String bb = "";
           //×Ö·ûºÏ²¢³É×Ö·û´®
            for(int i=0; i<b.length;i++){
                if(i == b.length-1){
                  bb += b[i];
                }else{
                  bb += b[i]+"%";
                }
            }
           System.out.println(bb);


Ïà¹ØÎĵµ£º

javaµÝ¹é

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
public class test {
public static void main(String[] args) {
ArrayList<ArrayList<Integer>> list = getArrays(1, 20, 30);
Iterator<ArrayList<Integer>> iter = list.itera ......

java Îļþ¶Áд_FileReader

package test;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
public class Test {
 public static void main(String arg[]) {
  String fileName = "E:\\share\\test.txt";
  String writeData = "HelloWorld!\r\nnihaoÎÒµÄ ......

Ò»¿´µ½JavaÏîÄ¿²»ÖªµÀ²ÅÄÄÏÂÊÖÈ¥×öÔõô°ì°¡£¿

±¾ÈËÕýÔÚѧϰJava£¬ÄÇЩ֪ʶµã¶¼Ñ§µÃºÜºÃ£¬µ«Ò»µ©ÒªÎÒÓÃËùѧµÄ֪ʶ×ö¸öÏîÄ¿³öÀ´ÎÒ¾ÍÎÞ´ÓÏÂÊÖ£¬²»ÖªµÀ´ÓÄÄÀï×öÆð²ÅºÃ£¡Ò»·½ÃæµÄÔ­ÒòÊÇÎÒµÄÔĶÁÁ¿Ì«ÉÙÁË£¬¶þÕß¾­Ñé²»×㣡ÎÒÕý½¹¼±×ÅÔõô¸Ä±äÎÒÕâÖÖ״̬£¬ËùÒÔÏëÕÒЩ×öÏîÄ¿µÄ½Ì²ÄÀ´×Ôѧ£¬µ«Õæ²»ÖªµÀ¸Ã¿´ÄÄЩ½Ì²ÄºÃ£¬ËùÒÔÔÚ´ËÏò¸÷λÏîÄ¿¸ßÊÖÇë½Ì£¬Çë¸øÎÒһЩ½¨Òé»òÍÆ¼ö¸øÎÒһЩ½Ì ......

Ubuntu linuxÏÂJavaµÄ°²×°


 javaµÄ°²×°
·½·¨Ò»
´ò¿ªÖÕ¶Ë£¬Ö´ÐÐÒÔÏÂÃüÁ»òʹÓÃAdept/ÐÂÁ¢µÃÈí¼þ¹ÜÀíÆ÷£¬ÔÚÆäÖзֱðËÑË÷"sun-java6-jre"ºÍ"sun-java6-jdk"²¢±ê¼Ç°²×°¡£
sudo apt-get install sun-java6-jre
Èç¹û¿Õ¼ä¸»Ô££¬½¨Òé°²×°Ò»¸öJDK¡£
sudo apt-get install sun-java6-jdk
Ìáʾ£º°²×°¹ý³ÌÖÐÐèÒªÄã»Ø´ðÊÇ·ñͬÒâʹÓÃЭÒ飨ÖÕ¶ËÖкìÀ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ