javaº¯Êý²é¿´Îļþ´óС
FileInputStream fis=null;
try
{
fis=new FileInputStream("file url")
}
catch(Exception e){e.printStackTrace()}
System.out.println("File has "+ fis.available() + " bytes");
Ïà¹ØÎĵµ£º
JAVA Á¬½Ó SQLServer 2000 ËùÐèÒªµÄÈý¸öJAR°ü¡£
http://download.csdn.net/source/2283940
----------------
Code:
------------------------
Connection conn = null;
Statement sta = null;
try {
Class.forName("com.microsoft.jdbc.sqlserver.SQLServer ......
³ý °Ë¸ö»ù±¾ÀàÐÍ£¨Long ,short,int ,float,double,char,byte,boolean£©Í⣬ÆäËûµÄÊý¾ÝÀàÐͶ¼±»³ÆΪ“ÒýÓÃÀàÐÍ”£¬Ò²¼´£ºObject¡£ObjectµÄ²Ù×÷È«ÊÇͨ¹ý¶ÔÏóµÄÒýÓã¨Object references£©£¬ÒýÓÿÉÒÔÀí½âΪָÕ룬ÈÝÒ×ÈÃÈ˶ÔÓ¦µ½C£«£«µÄ´«Ö·ÉÏÃæÈ¥¡£ËùÒÔ£¬´ó¼ÒҪעÒâඣ¡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
ÕâÁ½¸ö°ü£¬»òÕß²»µ¼ ......
package com.wensefu.constructor;
class Meal{
Meal(){
System.out.println("Meal()");
}
}
class Bread{
Bread(){
System.out.println("bread()");
}
}
class Chesse{
Chesse(){
System.out.println("Chesse()");
}
}
class Lettuce{
Lettuce(){
System. ......
ÔÚAndroidµÄÓ¦ÓóÌÐò¿ª·¢ÖУ¬Í¨³£Ê¹ÓõÄÊÇJAVAÓïÑÔ£¬³ýÁËÐèÒªÊìϤJAVAÓïÑԵĻù´¡ÖªÊ¶Ö®Í⣬»¹ÐèÒªÁ˽âAndroidÌṩµÄÀ©Õ¹µÄJAVA¹¦ÄÜ¡£
ÔÚÒ»°ãµÄJAVAÓ¦ÓÃÖУ¬Èç¹ûÐèÓÃÒýÓûù´¡Àà¿â£¬Í¨³£ÐèҪʹÓÃÈçϵķ½Ê½£º
import
javax.swing.*;
ÒÔÉÏ´úÂë±íʾÁËÒýÓÃJAVAµÄGUI×é¼þSwing,javax.swing¼´JAVAÖеÄÒ»¸ö°ü¡£
androidÌṩһР......