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

Java³£ÓÃÅÅÐòËã·¨


package com.xiaobian;   
  
public class BubbleSort {   
    //ðÅÝÅÅÐò   
    public static void bubbleSort(int[] data){   
        for(int i=0;i<data.length;i++){   
            for(int j=data.length-1;j>i;j--){   
                if(data[j]<data[j-1])   
                    swap(data,j,j-1);   
            }   
        }   
    }   
    //Ö±½Ó²åÈëÅÅÐò   
    public static void insertSort(int[] data){   
            for(int i=1;i<=data.length-1;i++){   
                for(int j=i;(j>0)&&(data[j]<data[j-1]);j--){   
                    swap(data,j,j-1);   
                }   
            }           
    }   
    //Ö±½ÓÑ¡ÔñÅÅÐò   
    public static void selectionSort(int[]&n


Ïà¹ØÎĵµ£º

java ÈçºÎÅäÖû·¾³±äÁ¿

ÅäÖÃjava »·¾³±äÁ¿ºÜ¼òµ¥ £º
Ê×ÏÈ:
1¡¢Ë«»÷“ÎҵĵçÄÔ”
2¡¢Ë«»÷“¿ØÖÆÃæ°å”
3¡¢Ë«»÷“ϵͳ”
4¡¢µã»÷“¸ß¼¶”Ñ¡Ï£¬
5¡¢µã»÷“»·¾³±äÁ¿”°´Å¥
Æä´Î:
1¡¢±äÁ¿Ãû: path
±äÁ¿Öµ: C:\jdk1.6.0\bin;
2¡¢±äÁ¿Ãû: classpath
±äÁ¿Öµ: .;%JAVA_HOME%\lib\ ......

ÓÃultraEdit±àÒëºÍÖ´ÐÐjava³ÌÐò

£¨1£©Ìí¼Ó±àÒëjava²Ëµ¥
1¡¢´ò¿ª ¸ß¼¶£­>¹¤¾ßÅäÖÃ
2¡¢ÔÚ“ÃüÁîÀ¸”ÀïÊäÈë javac %n%e £¨%nΪÎļþÃû²»´øÀ©Õ¹Ãû£¬%eΪÀ©Õ¹Ãû£©
3¡¢ÔÚ“¹¤×÷Ŀ¼”ÉÏÌî %p (±íʾÎļþËùÔÚĿ¼)
4¡¢ÔÚ“²Ëµ¥ÏîÄ¿Ãû³Æ”ÉÏÊäÈë ±àÒëjava³ÌÐò £¨ÏÖÔÚÔڲ˵¥ÉϵÄÃû³Æ£©
5¡¢Ñ¡Ôñ“±£´æµ±Ç°Îļþ”¸´Ñ¡¿ ......

flexͨ¹ýHTTPServiceÓëjavaͨÐŵÄСÀý×Ó

 ÊʺϳõѧÕßÀí½â
1£¬testflex.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
creationComplete="init()"
minWidth="955 ......

Java°´ÐжÁÈ¡Îı¾Îļþ

import java.io.*;
public class IoTest
{
public static void main(String[] args)
{
String s;
s=calculate();
System.out.println(s);
}
static String calculate()
{
StringBuffer sb=new StringBuffer("");
try{
FileReader re ......

JAVA³£ÓòÙ×÷Óï¾ä ¸öÈË×ܽá

·if ((ICO2 = getInitParameter("ICO2")) == null)
      ICO2 = "images/commend.gif";
·ActionContext ctx = ActionContext.getContext();
  HttpServletRequest request = (HttpServletRequest) ctx.get(ServletActionContext.HTTP_REQUEST);  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ