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

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

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


Ïà¹ØÎĵµ£º

ÓÃjavaдµÄÒ»¸ö¶·µØÖ÷·¢ÅÆС³ÌÐò

package bag;
import java.util.*;
public class Dou {
 /*
  * Éú³ÉÆË¿ËÅÆ
  */
 public String[] puke() {
  String[] s1 = { "ºÚÌÒ", "ºìÌÒ", "÷»¨", "·½Æ¬" };
  String[] s2 = { "A", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J",
     ......

javaÑéÖ¤Êý×Ö


1.javaÀà¿â×Ô´øµÄ·½·¨£º
1¡¢public boolean isNumber(String str)
{
if(java.lang.Character.isDigit(msg.charAt(0))){
    return true;
}
    return false;
}
}
2.¸üУºÓÃÕýÔò±í´ïʽ
Ê×ÏÈÒªimport java.util.regex.Pattern ºÍ java.util.regex.Matcher
ÕâÁ½¸ö°ü£¬»òÕß²»µ¼ ......

AndroidÖи÷ÖÖJAVA°üµÄ¹¦ÄÜÃèÊö

ÔÚAndroidµÄÓ¦ÓóÌÐò¿ª·¢ÖУ¬Í¨³£Ê¹ÓõÄÊÇJAVAÓïÑÔ£¬³ýÁËÐèÒªÊìϤJAVAÓïÑԵĻù´¡ÖªÊ¶Ö®Í⣬»¹ÐèÒªÁ˽âAndroidÌṩµÄÀ©Õ¹µÄJAVA¹¦ÄÜ¡£
ÔÚÒ»°ãµÄJAVAÓ¦ÓÃÖУ¬Èç¹ûÐèÓÃÒýÓûù´¡Àà¿â£¬Í¨³£ÐèҪʹÓÃÈçϵķ½Ê½£º
import
javax.swing.*;
ÒÔÉÏ´úÂë±íʾÁËÒýÓÃJAVAµÄGUI×é¼þSwing,javax.swing¼´JAVAÖеÄÒ»¸ö°ü¡£
androidÌṩһР......

javaº¯Êý²é¿´Îļþ´óС

FileInputStream fis=null;
try 
{
  fis=new FileInputStream("file url")
}
catch(Exception e){e.printStackTrace()}
System.out.println("File has "+ fis.available() + " bytes"); ......

JAVAÕýÔò±í´ïʽ

ÎÒ»Ò³£¼¦¶³£¬ACÁËÒ»¸ö188ÈËACµÄÌâÄ¿£¬¿ªÊ¼ËÀ»îRE£¬ÈÃÈ˲»½ûÄԲУ¬ÀíÂÛÉÏ°´ÌâÄ¿ÃèÊö½ÓÊÕsplitµÄstringÊý×鿪µ½2×ã×ã¹»£¬µ«ÊÇHH´óÅ£»¹ÊÇÖ´×ŵÄÌá³öÁËÊý×éÔ½½çµÄ¿ÉÄÜ£¬ºóÀ´¿´ÄǸö´óСΪ5µÄÊý×éÓеãÌ«¸ðÀĘ̂£¬Ë÷ÐԸijÉ105(¿ÉÊÇÃ÷Ã÷2¸ö¾Í¹»ÁË°¡£¬°¡£¬°¡£¬°¡£¬f**k)£¬È»ºó½»£ºAC£¬¿¿¡£ÄÔ²Ð+1£¬Ôôô¿ÉÄÜÄØ£¡ÄѵÀÌâÄ¿ÃèÊöÓÖÔÚÍæÈË£¬ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ