Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : java

¹ØÓÚc#ºÍjavaÖÐÊý×éµÄ±È½Ï

 javaÖÐʹÓöþά Êý×é
ognNf_v
public class Array2D...{
m @EvM)y0e2r
s
    public static void main(String[] args)...{JAVAÖÐÎÄÕ¾ÉçÇøÃÅ»§ ~j!lSR ^ z5bR5O
        int myInt[][]=new int[5][10];
@XH3ao\
        //±éÀú£¬¸øÊý×éÖеÄÿһ¸öÊý×鸳ֵJAVAÖÐÎÄÕ¾ÉçÇøÃÅ»§ R8p'd3\`lT
        for(int i=0;i<myInt.length;i++)...{JAVAÖÐÎÄÕ¾ÉçÇøÃÅ»§fqHZUI#K
            for(int j=0;j<myInt[0].length;j++)...{JAVAÖÐÎÄÕ¾ÉçÇøÃÅ»§q"VYu{
                myInt[j]=i*j;JAVAÖÐÎÄÕ¾ÉçÇøÃÅ»§oKg2om|X2o
            }
Qw `h]2Q
        }JAVAÖÐÎÄÕ¾ÉçÇøÃÅ»§YoPgh
hN
        System.out.println ("myInt.length="+myInt.length+",myInt[0].length="+myIn ......

¹ØÓÚc#ºÍjavaÖÐÊý×éµÄ±È½Ï

 javaÖÐʹÓöþά Êý×é
ognNf_v
public class Array2D...{
m @EvM)y0e2r
s
    public static void main(String[] args)...{JAVAÖÐÎÄÕ¾ÉçÇøÃÅ»§ ~j!lSR ^ z5bR5O
        int myInt[][]=new int[5][10];
@XH3ao\
        //±éÀú£¬¸øÊý×éÖеÄÿһ¸öÊý×鸳ֵJAVAÖÐÎÄÕ¾ÉçÇøÃÅ»§ R8p'd3\`lT
        for(int i=0;i<myInt.length;i++)...{JAVAÖÐÎÄÕ¾ÉçÇøÃÅ»§fqHZUI#K
            for(int j=0;j<myInt[0].length;j++)...{JAVAÖÐÎÄÕ¾ÉçÇøÃÅ»§q"VYu{
                myInt[j]=i*j;JAVAÖÐÎÄÕ¾ÉçÇøÃÅ»§oKg2om|X2o
            }
Qw `h]2Q
        }JAVAÖÐÎÄÕ¾ÉçÇøÃÅ»§YoPgh
hN
        System.out.println ("myInt.length="+myInt.length+",myInt[0].length="+myIn ......

SolarisÏÂjava packageµÄ±àÒëÓëÔËÐÐ

Õ⼸ÌìÓöµ½ÁËjavaµÄpackageÎÊÌ⣨ÕâÖÖÎÊÌâÖ»ÊÇÔÚcmdÃüÁîÐÐģʽÏ»áÓöµ½£¬Èç¹ûÓÃeclipse¾Í²»»áÓÐÕâÖÖÎÊÌ⣩£¬°ÑjavaÖеÄpackage±àÒëÔËÐеÄÎÊÌâ×ܽáһϣ¬×÷Ϊ±¸Íü¡£
    Ê×ÏÈ£¬Èç¹ûÄãÓÐÁ½¸öÀࣺ
   £¨1£©A.java
        import edu.ustc.*;
        public class A{
          public static void main(String[] args){
            B b = new B();
            b.print();
          }
        }
   £¨2£©B.java
        package edu.ustc;
        public class B{
          public void print(){
            ......

javaÖÐfloat/double¸¡µãÊýµÄ¼ÆËãʧ¾«¶ÈÎÊÌâ

 javaÖи¡µãÊýµÄ¼ÆËã
½ñÌìÔÚÊýÖµ¼ÆËãʱÅöµ½Ò»¸öÎÊÌâ.³ÌÐòÈçÏÂ:
  double a = (3.3-2.4)/0.1;
  System.out.println(a);
Äã¿ÉÄÜÈÏΪ½á¹ûºÜ¼òµ¥,²»¾ÍÊÇ9Âï,ÊÇÊÂʵÉÏ,½á¹ûΪ:8.999999998,ÎªÊ²Ã´ÄØ?ÎÒ·­ÔÄÁËһЩ×ÊÁÏ,ÖÕÓÚÕÒ³öÁËÔ­Òò.
Ϊʲô¸¡µãÊý»á¶ªÊ§¾«¶È£¿ 
Ê®½øÖÆÊýµÄ¶þ½øÖƱíʾ¿ÉÄܲ»¹»¾«È·
¸¡µãÊý»òÊÇË«¾«¶È¸¡µãÊýÎÞ·¨¾«È·±íʾµÄÇé¿ö²¢²»ÉÙ¼û¡£¸¡µãÊýֵû°ì·¨ÓÃÊ®½øÖÆÀ´¾«È·±íʾµÄÔ­ÒòÒª¹é¾ÌÓÚCPU±íʾ¸¡µãÊýµÄ·½·¨¡£ÕâÑùµÄ»°Äú¾Í¿ÉÄÜ»áÎþÉüһЩ¾«¶È£¬ÓÐЩ¸¡µãÊýÔËËãÒ²»áÒýÈëÎó²î¡£ÒÔÉÏÃæÌáµ½µÄÇé¿öΪÀý£¬2.4µÄ¶þ½øÖƱíʾ²¢·Ç¾ÍÊǾ«È·µÄ2.4¡£·´¶ø×îΪ½Ó½üµÄ¶þ½øÖƱíʾÊÇ 2.3999999999999999¡£Ô­ÒòÔÚÓÚ¸¡µãÊýÓÉÁ½²¿·Ö×é³É£ºÖ¸ÊýºÍβÊý¡£¸¡µãÊýµÄֵʵ¼ÊÉÏÊÇÓÉÒ»¸öÌØ¶¨µÄÊýѧ¹«Ê½¼ÆËãµÃµ½µÄ¡£ÄúËùÓöµ½µÄ¾«¶ÈËðʧ»áÔÚÈκβÙ×÷ϵͳºÍ±à³Ì»·¾³ÖÐÓöµ½¡£
×¢Ò⣺ Äú¿ÉÒÔʹÓÃBinary Coded Decimal (BCD)¿âÀ´±£³Ö¾«¶È¡£BCDÊý×Ö±àÂë·½·¨»á°Ñÿһ¸öÊ®½øÖÆÊý×Öλµ¥¶À±àÂë¡£ 
ÀàÐÍʧÅä
Äú¿ÉÄÜ»ìºÏÁ˸¡µãÊýºÍË«¾«¶È¸¡µãÊýÀàÐÍ¡£ÇëÈ·¶¨ÄúÔÚ½øÐÐÊýѧÔËËãµÄʱºòËùÓеÄÊý¾ÝÀàÐÍÈ«²¿Ïàͬ¡£
×¢Ò⣺floatÀàÐ͵ıäÁ¿Ö»ÓÐ7λµÄ¾«¶È£¬¶ødoubleÀàÐ͵ıäÁ¿ÓÐ15λµ ......

javaʵÏÖÑ­»·×óÒÆºÍÓÒÒÆµÄ¼òµ¥Ëã·¨

 byte a=112,ÓóÌÐòʵÏÖ£¬½«ÆäÑ­»·×óÒÆÈýλºÍÓÒÒÆÈýλ¡£
112µÄ¶þ½øÖÆÔ­Âë:0111 0000
112Ñ­»·×óÒÆ3λºóµÄ¶þ½øÖÆÂë:1000 0011
112Ñ­»·ÓÒÒÆ3λºóµÄ¶þ½øÖÆÂë:0000 1110
ÏȽ«Ñ­»·×óÒÆµÄ³ÌÐò´úÂë¸æËß´ó¼Ò:
public class TestCircle{
 public static void main(String args[]){
  byte x=112;
  System.out.println((byte)(x<<3|x>>5));
 }
}
³ÌÐòµÄÊä³ö½á¹ûÊÇ-125,ËüµÄÔ­ÂëΪ1111 1101,²¹ÂëΪ1000 0011(ÕýºÃÊÇ112Ñ­»·×óÒÆÈýλºóµÄÊý×Ö)
ÔÙ¿´Ñ­»·ÓÒÒÆµÄ³ÌÐò´úÂë:
public class TestCircle{
 public static void main(String args[]){
  byte x=112;
  System.out.println((byte)(x>>3|x<<5));
 }
}
³ÌÐòµÄÊä³ö½á¹ûÊÇ14,ËûµÄÔ­Âë¡¢²¹ÂëÏàͬ¶¼ÊÇ0000 1110(ÕýºÃÊÇ112Ñ­»·ÓÒÒÆÈýλºóµÄÊý×Ö)
×ܽá:¶ÔÓÚÒ»¸öÊý¾ÝÀàÐͳ¤¶ÈΪLµÄÊý¾Ýn£¬¶ÔÆä½øÐÐÑ­»·×óÒÆmλ(»òÓÒÒÆmλ)£¬Ö»Ð轫Êý¾Ýn×óÒÆ(»òÓÒÒÆ)mλµÄ½á¹ûºÍÊý¾ÝnÓÒÒÆ(»ò×óÒÆ)L-mλµÄ½á¹û½øÐлòÔËË㣬ÔÙ½«»òÔËËãµÄ½á¹ûÇ¿ÖÆ×ª»»ÎªÔ­ÀàÐͼ´¿É¡£ ......

javaѧϰ±Ê¼Ç(1)

     µÇ¼ÑéÖ¤£¬µ±Óû§ÃûΪabc£¬ÃÜÂëΪ123ʱ·µ»ØÍ¨¹ý£¬·ñÔòΪµÇ¼ʧ°Ü£¬ÈôÖ»ÊäÈëÁËÆäÖÐÒ»ÏÔò·µ»Ø²ÎÊý²»ÕýÈ·¡£
´úÂëÈçÏ£º
   
//µÇ¼ÑéÖ¤·¶Àý ——Ò»¸ö±ê×¼µÄ³ÌÐòÉè¼ÆÄ£Ê½
class Login
{    
       private String name;
       private String password;
       public Login(String name,String password)
       {
              this.name=name;
              this.password=password;
              voildate();
       }
       private void voildate()
       {    
       &nb ......

ÎÒµÄJavaѧϰ֮·2009

-------------------------------2009Äê3ÔÂ19ÈÕ¿ªÊ¼-----------------------------
ÏÂÔØJDK Myeclipse Netbeans JBulider²¢°²×°
ËïöÎ »ù´¡½²½â
ÂíÊ¿±ø »ù´¡½²½â
ÂíÊ¿±ø ̹¿Ë´óÕ½ (µ¥»ú°æ±¾! °üÀ¨Í¼Æ¬°æ)
¹ù¿Ë»ª J2ME -----------------------------------2009Äê5ÔÂ2ÈÕ-------------------------------
ħÀֿƼ¼ Îå×ÓÆå
´«ÖDz¥¿Í ̰³ÔÉß
´«ÖDz¥¿Í ¶íÂÞ˹·½¿é **ÎÊÌ⣺ÔÚÈÝÆ÷ÖÐÌí¼Ó°´¼ü£¬²¢ÇÒÖ¸¶¨°´¼üµÄλÖúʹóС ÏÂÔØ£º´«ÖDz¥¿Í ÕÅТÏé Servlet¿ª·¢ÈëÃÅ ---2009Äê5ÔÂ2ÈÕÍíÉÏ22£º00----- ¹Û¿´ ÉÐѧÌà ÂíÊ¿±ø --------È»ºóÊÇ̹¿Ë´óÕ½µÄÍøÂç°æ±¾ ¹Û¿´ÕýÔò±í´ïʽ-----------ÂíÊ¿±ø ----------------------------------------2009Äê5ÔÂ6ÈÕ-------------------------------
¹Û¿´ÂíÊ¿±ø ÁÄÌìϵͳ³ûÐÎ Íê³É
html
jsp
jsp + javabean
jsp + javabean + servlet
xmlÒ²Òª¿´¿´
struts1»ò2
spring
hibernate
¡£¡£¡£¡£¡£¡£¡£¡£ ------------------2009Äê5ÔÂ10ÈÕ-----------------------
½ ......
×ܼǼÊý:6386; ×ÜÒ³Êý:1065; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [857] [858] [859] [860] 861 [862] [863] [864] [865] [866]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ