³õѧjava
¹ØÓÚjavaƽ̨£¬¿ª·¢»·¾³£¬¿ª·¢¹¤¾ßµÄÈÏʶ
Ò»¿ªÊ¼Ñ§¾³£°ÑÈýÕ߸ø»ìÁË¡£Æ½Ì¨ÊÇÒ»¸ö³ÌÐòÔËÐеÄÓ²¼þ»·¾³¡£Ïñwidows£¬linuxµÈÊDzÙ×÷ϵͳºÍÓ²¼þ×é³ÉµÄ»ùÓÚÓ²¼þµÄƽ̨¡£javaƽ̨һ¸öÔËÐÐÔÚÓ²¼þÖ®ÉϵĴ¿Èí¼þƽ̨¡£javaƽ̨ÓÐÁ½²¿·Ö×é³ÉjavaÐéÄâ»úºÍjava³ÌÐòÉè¼Æ½Ó¿Ú¡£
jvmÊÇjavaÄÜ¿çƽ̨µÄ»ù´¡£¬ËüÄܽâÊÍÔËÐÐjava³ÌÐò¡£
javaƽ̨Ҳ¿ÉÒÔ³Æjava¿ª·¢¹¤¾ß¼¯£¨jdk£©¡£
javaÓïÑԵĿª·¢»·¾³JDK£¬javaÊÇÒ»¸öÍêÈ«¿çƽ̨µÄ¼¼Êõ£¬ËüµÄ²úÆ·¿ÉÒÔÔÚ²»Í¬µÄƽ̨ÉÏÔËÐС£Ê¹ÓÃjava¿ª·¢¹¤¾ß֮ǰÐèÒª¶Ôjava¿ª·¢»·¾³½øÐÐÅäÖá£
javaµÄ¿ª·¢¹¤¾ßÓкܶàÈçEclipseºÍNetBeamµÈ¡£
Ïà¹ØÎĵµ£º
create PROCEDURE pagelist
@tablename nvarchar(50),
@fieldname nvarchar(50)='*',
@pagesize int output,--ÿҳÏÔʾ¼Ç¼ÌõÊý
@currentpage int output,--µÚ¼¸Ò³
@orderid nvarchar(50),--Ö÷¼üÅÅÐò
@sort int,--ÅÅÐò·½Ê½£¬1±íʾÉýÐò£¬0±íʾ½µÐòÅÅÁÐ
......
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.channels.FileChannel;
public class DealFile {
/**
* ɾ³ýÎļþ
......
JDK1.5ÖУ¬StringÀàÐÂÔöÁËÒ»¸öºÜÓÐÓõľ²Ì¬·½·¨String.format():
format(Locale l, String format, Object... args) ʹÓÃÖ¸¶¨µÄÓïÑÔ»·¾³¡¢¸ñʽ×Ö·û´®ºÍ²ÎÊý·µ»ØÒ»¸ö¸ñʽ»¯×Ö·û´®¡£
format(String format, Object... args) ʹÓÃÖ¸¶¨µÄ¸ñʽ×Ö·û´®ºÍ²ÎÊý·µ»ØÒ»¸ö¸ñʽ»¯×Ö·û´®¡£
¾Ù¼¸¸öÕâ¸ö·½·¨ÊµÓõÄÀý×Ó(×¢ÊÍÊÇÊä³ö½á¹û) ......
rem ¿´µ½ºÜ¶à³õѧÕß·´¸´ÎÊÕâ¸öÎÊÌ⣬дÁËÒ»¸öºÜ¼òµ¥µÄÒ»¸ö½Å±¾£¬ÓÃÓÚ×Ô¶¯ÉèÖû·¾³±äÁ¿¡£°Ñ´úÂ뿽±´£¬Áí´æΪjavaEnv.bat¡£°²×°ÍêJava 2 SDKÖ®ºó£¬¿ªÒ»¸öÃüÁîÐд°¿Ú,ÊäÈëjavaEnv java2SDKDir(java2SDKDirÊÇÄãµÄjavaµÄ°²×°Ä¿Â¼£¬²»´ø·¾¶×îºóµÄ\¡£Èç¹û°²×°Â·¾¶ÖÐÓпոñ£¬ÇëÓÃjavaEnv "java2SDKDir"¸ñʽ)²¢ÔËÐС£(×¢£ºÒ ......
javaÖÐnullµÄ¸ÅÄî:javaÖУ¬null±íʾÀà»ò±äÁ¿ÊÇ¿Õ£¬²»´ú±íÈκζÔÏó»òʵÀý£¬¿ÉÒÔ½«null¸³¸øÒýÓÃÀàÐͱäÁ¿£¬µ«²»¿ÉÒÔ½«null¸³¸ø»ù±¾ÀàÐͱäÁ¿¡£Êý¾Ý¿âÖÐNULLµÄ¸ÅÄî:Êý¾Ý¿âÖУ¬null±íʾδÌîд¡¢Î´Öª¡¢²»¿ÉÓõĸÅÄºÍjava²»Í¬µÄÊÇÊý¾Ý¿âÖпÉÒÔ½«null¸³¸øÈκÎÊý¾ÝÀàÐÍ¡£ÕâÑùÒ»À´£¬ÎÒÃÇ´ÓÊý¾Ý¿âÖжÁÈ¡×ֶεÄÖµºó£¬ÔÚjava³ÌÐò ......