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

Javaѧϰ±Ê¼Ç1

 Ò»¡¢JavaÔËÐÐʱµÄÁ½ÖÖºËÐÄ»úÖÆ
     £¨1£©JavaÐéÄâ»ú£¨Java Virtual Machine£©
               ÓÃÀ´´¦ÀíJavaÔ´Îļþ±àÒëºóµÄ×Ö½ÚÂ룬ÆÁ±Îµ×²ãÔËÐÐƽ̨µÄ²îÒ죬ʵÏÖ“Ò»´Î±àÒ룬Ëæ´¦Ö´ÐД£¬¶øÇÒ²»Í¬µÄÔËÐÐƽ̨
           Óв»Í¬µÄÐéÄâ»ú
   
    £¨2£©À¬»ø»ØÊÕ»úÖÆ
               ÎÞÐë³ÌÐòÔ±À´»ØÊÕÄڴ棬ÓÉJavaÐéÄâ»úÔÚ¿ÕÏÐʱ¼ä×Ô¶¯»ØÊÕ
¶þ¡¢Java³ÌÐòµÄ³õ²½¹æ·¶
     
     £¨1£©JavaÔ´ÎļþµÄºó׺ÃûΪ.java£¬±àÒëÍêµÄ×Ö½ÚÂëºó׺ÃûΪ.class
     £¨2£©JavaÔ´ÎļþµÄ»ù±¾×é³ÉΪÀà
     £¨3£©JavaÔ´ÎļþÖÐ×î¶àÇÒÖ»ÄÜÖ»ÓÐÒ»¸öpublicÀ࣬ÆäËûÀ಻ÏÞ¡£Èç¹ûÔ­ÎļþÖÐÓÐpublicÀ࣬ԴÎļþÃû±ØÐëºÍpublicÀàÃûÒ»Ñù
     £¨4£©Java³ÌÐòµÄÖ´ÐÐÈë¿ÚΪmainº¯Êý£º£¨¹Ì¶¨Êéд¸ñʽ£©
                public static void main(String[] args) {}
     £¨5£©JavaÇø·Ö´óСд
     £¨6£©JavaµÄÈýÖÖ×¢ÊÍ
            //  ×¢ÊÍÒ»ÐÐ
            /* */  ×¢ÊͶàÐÐ
            /**
             *  ×¢ÊͶàÐУ¬Çҿɱ»doc¹¤¾ß´¦Àí
             */
          
              
            


Ïà¹ØÎĵµ£º

JAVA¶¯Ì¬µ÷ÓÃWeb Services

·þÎñ¶ËµÄwebservicesµÄ·¢²¼ÊÇ»ùÓÚjax-ws¹æ·¶·¢²¼µÄ¡£ÏÂÃæÊÇ¿Í»§¶Ë¶¯Ì¬µ÷ÓõĴúÂ룬µ÷ÓõÄweb·þÎñÊÇ¿ÉÅäÖõġ£
1£ºÔÚxmlÎĵµÀïÅäÖÃwebservicesµÄwsdlµØÖ·£¬¶Ë¿ÚÃûºÍ²Ù×÷Ãû
2£ºÌṩһ¸ö·½·¨¶ÁÈ¡xmlÎĵµ£¬·µ»ØÒ»¸öList
     List list= ReadAndWriteXML.getWebServiceWsdlList();
   ......

javaÀàÐÍת»»×ܽá

ÀàÐÍת»»×ܽ᣺
1.Ô­ÐÍÊý¾Ýbyte,short,int,long,float,double,char,boolean,СÀàÐÍÊý¾Ý¿ÉÒÔÖ±½Ó¸³¸ø´óÀàÐÍÊý¾ÝÀýÈç
 int a=1;byte b=2;short c=3;float d=3;double e=4;char f='a';boolean g=true;long l=10;
c=b;
a=f;
d=a;
e=d;
byteÐÍÊý¾Ý²»ÄÜÖ±½Ó¸³¸øcharÐÍÊý¾Ý£¬ÒòΪbyte±íʾµÄÊÇ8λÓзûºÅÊý£¬¶øchar±íʾµ ......

javaµ÷Óô洢¹ý³Ì

//µ÷Óô洢¹ý³Ì´ø²Î
            CallableStatement ca = conn.prepareCall("{call Login (?,?)}");
            ca.setString(1,username);
         & ......

java×Ö·û´®´¦ÀíÀà

×Ô¼ºÊÕ¼¯µÄһЩjava´¦ÀíÀ࣬¹©ÒÔºó²éѯ
package com.tools;
import java.text.SimpleDateFormat;
import java.util.Date;
public class StringHandler {

/******************************
* ¹¦ÄÜ£º½«IPµØַת»»Îª¶ÔÓ¦µÄÕûÊý
* ·µ»ØÀàÐÍ£ºlong
******************************/
public static long getI ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ