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

Java »ù´¡Ìâ

 ÔÚÍøÉÏÕÒÁ˵ã»ù´¡ÌâÄ¿,×Ô¼º×öÁË×ö,ÏÂÃæÊÇÌâÄ¿:
  1.JavaÓÐÄÇЩ»ù±¾Êý¾ÝÀàÐÍ£¬StringÊDz»ÊÇ»ù±¾Êý¾ÝÀàÐÍ£¬ËûÃÇÓкÎÇø±ð¡£
  2.×Ö·û´®µÄ²Ù×÷£º
   Ð´Ò»¸ö·½·¨£¬ÊµÏÖ×Ö·û´®µÄ·´×ª£¬È磺ÊäÈëabc£¬Êä³öcba
   Ð´Ò»¸ö·½·¨£¬ÊµÏÖ×Ö·û´®µÄÌæ»»£¬È磺ÊäÈëbbbwlirbbb£¬Êä³öbbbhhtccc¡£
  3.Êý¾ÝÀàÐÍÖ®¼äµÄת»»
   ÈçºÎ½«ÊýÖµÐÍ×Ö·ûת»»ÎªÊý×Ö£¨Integer£¬Double£©
   ÈçºÎ½«Êý×Öת»»Îª×Ö·û
   ÈçºÎȡСÊýµãÇ°Á½Î»£¬²¢ËÄÉáÎåÈë¡£
  4.ÈÕÆÚºÍʱ¼ä
   ÈçºÎÈ¡µÃÄêÔÂÈÕ£¬Ð¡Ê±·ÖÃë
   ÈçºÎÈ¡µÃ´Ó1970Äêµ½ÏÖÔڵĺÁÃëÊý
   ÈçºÎ»ñȡij¸öÈÕÆÚÊǵ±ÔµÄ×îºóÒ»Ìì
   ÈçºÎ¸ñʽ»¯ÈÕÆÚ
  5.Êý×éºÍ¼¯ºÏ
  6.ÎļþºÍĿ¼£¨I/O£©²Ù×÷
   ÈçºÎÁгöij¸öĿ¼ÏµÄËùÓÐÎļþ
   ÈçºÎÁгöij¸öĿ¼ÏµÄËùÓÐ×ÓĿ¼
   ÅжÏÒ»¸öÎļþ»òĿ¼ÊÇ·ñ´æÔÚ
   ÈçºÎ¶ÁдÎļþ
  7.Java¶à̬µÄʵÏÖ£¨¼Ì³Ð¡¢ÖØÔØ¡¢¸²¸Ç£©
  8.±àÂëת»»£¬ÔõÑùʵÏÖ½«GB2312±àÂëµÄ×Ö·û´®×ª»»ÎªISO-8859-1±àÂëµÄ×Ö·û´®¡£
  9.JavaÖзÃÎÊÊý¾Ý¿âµÄ²½Ö裬StatementºÍPreparedStatementÖ®¼äµÄÇø±ð
2.
private String getString(String str) {
String reString="";
for (int i = str.length()-1; i >=0 ; i--) {
reString +=str.charAt(i);
}
return reString;
}
ʵÏÖ×Ö·û´®µÄÌæ»»£¬È磺ÊäÈëbbbwlirbbb£¬Êä³öbbbhhtccc ²»Ã÷°×ÌâÄ¿ÊÇʲôÒâ˼
3private void GetReplase() {
//·½·¨1 ÏȳËÒÔ100È»ºóËÄÉáÎåÈë,È»ºóÔÙ³ýÒÔ100
double a=3.1675;
int b=(int)Math.round(a*100);
double c=(double)b/100.00;
System.out.println(c);

//ʹÓøñʽ»¯
DecimalFormat dFormat=new DecimalFormat("#.00");
System.out.println(dFormat.format(a));
}


Ïà¹ØÎĵµ£º

¸÷ÖÖJavaÖÐÎÄתÂëµÄÀý×Ó£¬ÓÃÀ´¶Ô¸¶ÂÒÂë

 ¸÷ÖÖJavaÖÐÎÄתÂëµÄÀý×Ó£¬ÓÃÀ´¶Ô¸¶ÂÒÂë
public class HelloWorld
{
   public static void main(String[] argv){
     try{
       System.out.println("ÖÐÎÄ1");    //1
       System.out.p ......

24±¾Javaµç×ÓÊéÏÂÔØ


Core Java Volume I Fundamentals 8th Edition

Core Java Volume II Advanced Features 8th Edition

Java CAPS Basics Implementing Common EAI Patterns

Java³ÌÐòÉè¼Æ´óѧ½Ì³Ì

Ajax on Java

......

JavaÀïÃæµÄ·¾¶ÎÊÌ⣬CLASSPATHºÍSOURCEPATH

javaµÄ·¾¶ÈÃÐí¶àÈË£¬ÌرðÊdzõѧÕ߸е½ÃÔ»ó£¬ÎÒÕâÀïÔÙ½âÊÍһϡ£ÎÒÃÇ·Ö2¸ö½×¶Î£¬1ÊDZàÒë½×¶Î£¬2ÊÇÔËÐн׶Ρ£
Ò»¡¢±àÒë½×¶Î
  Õâ¸öʱºò£¬ÎÒÃÇÒªÌṩ¸ø±àÒëÆ÷µÄÓÐ2¸ö·¾¶²ÎÊý£¬µÚÒ»¸öÊÇÔ´´úÂëÔÚÄÄÀҲ¾ÍÊÇ sourcepath,µÚ¶þ¸ö¾ÍÊÇÒÀÀµµÄÀàÔÚÄÄÀҲ¾ÍÊÇ classpath
ÎÒÃÇ¿´Ò»¸öÀý×Ó
d:\temp\TestCP\d1\p1\Class1 ......

Java½Ó¿ÚµÄÀí½â

ÔÚûÓкúõØÑÐÏ°ÃæÏò¶ÔÏóÉè¼ÆµÄÉè¼Æģʽ֮ǰ£¬ÎÒ¶ÔJava½Ó¿ÚºÍJava³éÏóÀàµÄÈÏʶ»¹ÊǺÜÄ£ºý£¬ºÜ²»¿ÉÀí½â¡£
¸ÕѧJavaÓïÑÔʱ£¬¾ÍºÜÄÑÀí½âΪʲôҪÓнӿÚÕâ¸ö¸ÅÄËä˵ÊÇ¿ÉÒÔʵÏÖËùνµÄ¶à¼Ì³Ð£¬¿ÉÒ»¸öÖ»Óз½·¨Ãû£¬Ã»Óз½·¨ÌåµÄ¶«Î÷£¬ÎÒʵÏÖËüÓÖÓÐʲôÓÃÄØ£¿ÎÒ´ÓËüÄÇʲôҲµÃ²»µ½£¬³ýÁËһЩ·½·¨Ãû£¬ÎÒÖ±½ÓÔÚ¾ßÌåÀàÀï¼ÓÈëÕâЩ·½ ......

ÎÒÃǵÄjavaʵѵ Óõ½µÄ֪ʶµã

±ðµÄ¶¼²»ËµÁË£¬ÎҵĸоõÊÇѧϰµ½ÁËÒ»ÖÖ¿ò¼ÜµÄ˼Ï룺¾ÍÊÇ¿ª·¢Ò»¸ö»ù´¡¿ò¼Ü£¬È»ºóÕâ¸ö¿ò¼ÜÔÙ±ðµÄµØ·½Ò»Ñù¿ÉÒÔʹÓã¡
±È½ÏÖØÒªµÄ֪ʶµã:
1: HTTP ЭÒé½âÎö£¬
2£º·â×°response ¡¢request
3£º¸øϵͳ¶¨ÖÆÈÕÖ¾×é¼þ
4£º¸øϵͳÌí¼ÓÅäÖÃÎļþ£¬Ôö¼ÓÁËϵͳµÄÁé»îÐÔºÍñîºÏÐÔ.ÕâÀïÖ÷ÒªÊÇÓõÄÒ»¸ö¿ªÔ´ÏîÄ¿£¨¾Ý˵Tomcat¾ÍÊÇÓõÄÕâ¸ö¿ªÔ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ