javaÊäÈëÊý¾ÝµÄÁ½ÖÖ·½·¨
1 »ù±¾·½·¨
import java.io.*;
public class input1
{
public static void main(String[] args) throws IOException
{
InputStreamReader reader = new InputStreamReader(System.in);
BufferedReader buf = new BufferedReader(reader);
/* »òÕß
BufferedReader buf;
buf = new BufferedReader(new InputStreamReader(System.in));
*/
String str;
System.out.print("ÇëÊäÈë×Ö·û´®£º");
str = buf.readLine();
System.out.println("ÄãÊäÈëµÄ×Ö·û´®ÊÇ£º"+str);
}
}
2 ÀûÓÃScannerÀà
import java.util.*;
public class input2
{
public static void main(String[] args)
{
int i1;
double d2;
String s1, s2;
Scanner scanner = new Scanner(System.in);
System.out.print("ÇëÊäÈëµÚÒ»¸öÊý£º");
i1 = scanner.nextInt();
System.out.print("ÇëÊäÈëµÚ¶þ¸öÊý£º");
d2 = scanner.nextDouble();
System.out.println(i1 + "*" + d2 + "=" + (i1 * d2));
System.out.print("ÇëÊäÈëµÚÈý¸öÊý£º");
s1 = scanner.next();
System.out.print("ÇëÊäÈëµÚËĸöÊý£º");
s2 = scanner.next();
System.out.println("ÊäÈëµÄÊÇ" + s1 + "ºÍ" + s2);
}
}
Ïà¹ØÎĵµ£º
Ò»£º×¼±¸ www.savarese.org download
1. rocksaw-1.0.0-src.tar.gz
2. vserv-tcpip-0.9.2-src.tar.gz
¶þ£º±àÒëÔ´ÎļþµÃµ½jar°ü ʹÓÃAnt
1. build vserv-tcpip-0.9.2-src
ÔÚvserv-tcpip-0.9.2Ŀ¼ÏÂÃ潨һ¸ötestsĿ¼£¬È»ºóÔÚcmd´°¿ÚϽøÈë ......
/**
* @author ºýÍ¿¹í
* ÔÚ½¨Á¢Á¬½Ó֮ǰÐèҪһЩ׼±¸¹¤×÷£º
* ÔÚ¿ØÖÆÃæ°åÉÏͨ¹ý“¹ÜÀí¹¤¾ß”µÄ“Êý¾ÝÔ´(ODBC)”´ò¿ª“ODBCÊý¾ÝÔ´¹ÜÀíÆ÷”¶Ô»°¿ò£¬
* µ¥»÷“ϵͳDSN”Ñ¡Ï£¬È»ºóµ¥»÷“Ìí¼Ó”°´Å¥£¬µÃµ½“´´½¨Êý¾ÝÔ´”¶Ô»°¿ò£¬
......
±à³Ì£º±àдһ¸ö½ØÈ¡×Ö·û´®µÄº¯Êý£¬ÊäÈëΪһ¸ö×Ö·û´®ºÍ×Ö½ÚÊý£¬Êä³öΪ°´×Ö½Ú½ØÈ¡µÄ×Ö·û´®¡£µ«ÊÇÒª±£Ö¤ºº×Ö²»±»½Ø°ë¸ö£¬Èç"ÎÒABC"4£¬Ó¦¸Ã½ØΪ"ÎÒAB"£¬ÊäÈë"ÎÒABCººDEF"£¬6£¬Ó¦¸ÃÊä³öΪ"ÎÒABC"¶ø²»ÊÇ"ÎÒABC+ººµÄ°ë¸ö"¡£
¡¡¡¡public static String substring(String str, int toCount,String& ......
1£©DOM£¨JAXP Crimson½âÎöÆ÷£©
DOMÊÇÓÃÓëƽ̨ºÍÓïÑÔÎ޹صķ½Ê½±íʾXMLÎĵµµÄ¹Ù·½W3C±ê×¼¡£DOMÊÇÒÔ²ã´Î½á¹¹×éÖ¯µÄ½Úµã»òÐÅϢƬ¶ÏµÄ¼¯ºÏ¡£Õâ¸ö²ã´Î½á¹¹ÔÊÐí¿ª·¢ÈËÔ±ÔÚÊ÷ÖÐÑ°ÕÒÌض¨ÐÅÏ¢¡£·ÖÎö¸Ã½á¹¹Í¨³£ÐèÒª¼ÓÔØÕû¸öÎĵµºÍ¹¹Ôì²ã´Î½á¹¹£¬È»ºó²ÅÄÜ×öÈκι¤×÷¡£ÓÉÓÚËüÊÇ»ùÓÚÐÅÏ¢²ã´ÎµÄ£¬Òò¶ ......
¸Ã´úÂëʵÏÖÁËÔÚϵͳÓÒϽǵÄÈÎÎñÀ¸ÖÐÏÔʾ³ÌÐòµÄͼ±ê£¬²¢ÇÒ×îС»¯³ÌÐòºóµ¥»÷ͼ±ê¿ÉÒÔÏÔʾ³öÀ´Õâ¸ö³ÌÐò´°¿Ú
import java.awt.Color;
¡¡¡¡import java.awt.Image;
¡¡¡¡import java.awt.MenuItem;
¡¡¡¡import java.awt.PopupMenu;
¡¡¡¡import java.awt.Toolkit;
¡¡¡¡
¡¡¡¡
¡¡¡¡import javax.swing.JFrame;
¡¡¡ ......