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

¹ØÓÚ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="+myInt[0].length);JAVAÖÐÎÄÕ¾ÉçÇøÃÅ»§ds;m&{T'CwI
K/x
        //Êä³öÊý×éÿһάµÄÏÂÏÞºÍÉÏÏÞ
+l5z9G {h
{Z7^
        for(int i=0;i<myInt.length;i++)...{
\%lw]-z_
            for(int j=0;j<myInt[0].length;j++)...{JAVAÖÐÎÄÕ¾ÉçÇøÃÅ»§6l0i
m$l@;vq[Q
                System.out.println ("myInt["+i+"]["+j+"]="+myInt[j]);JAVAÖÐÎÄÕ¾ÉçÇøÃÅ»§itTWP2Ij
            }JAVAÖÐÎÄÕ¾ÉçÇøÃÅ»§e@2A|
r
        }
D-n1r)x|+ra/E+k
    }JAVAÖÐÎÄÕ¾ÉçÇøÃÅ»§iF o/{#Ia'E$e
}
4VnR"f9o
    ÔÚC#ÖÐint[][] myIntÊÇÉùÃ÷Ò»¸ö½»´íÊý×飬ÉùÃ÷¶þάÊý×éÊÇÕâôÉùÃ÷int[,] myInt£¬ÉÏÃæµÄ´úÂëÈç¹û»»³ÉC#µÄ£¬ÐèÒªÈçϱíʾ£ºJAVAÖÐÎÄÕ¾ÉçÇøÃÅ»§h-Rvy7buI
Xr P @8m
    class clsArrat2D
%xTVs2`a M:E5p
  &


Ïà¹ØÎĵµ£º

javaÈëÃÅ

 Javaѧϰ´ÓÈëÃŵ½¾«Í¨ 
Ò»¡¢ JDK (Java Development Kit) 
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......

Java¶àÏ̳߳ÌÐòÉè¼ÆÏêϸ½âÎö

 ¡¡Ò»¡¢Àí½â¶àÏß³Ì
¡¡¡¡¶àÏß³ÌÊÇÕâÑùÒ»ÖÖ»úÖÆ£¬ËüÔÊÐíÔÚ³ÌÐòÖв¢·¢Ö´Ðжà¸öÖ¸ÁîÁ÷£¬Ã¿¸öÖ¸ÁîÁ÷¶¼³ÆΪһ¸öỊ̈߳¬±Ë´Ë¼ä»¥Ïà¶ÀÁ¢¡£
¡¡¡¡Ïß³ÌÓÖ³ÆΪÇáÁ¿¼¶½ø³Ì£¬ËüºÍ½ø³ÌÒ»ÑùÓµÓжÀÁ¢µÄÖ´ÐпØÖÆ£¬ÓɲÙ×÷ϵͳ¸ºÔðµ÷¶È£¬Çø±ðÔÚÓÚÏß³ÌûÓжÀÁ¢µÄ´æ´¢¿Õ¼ä£¬¶øÊǺÍËùÊô½ø³ÌÖеÄÆäËüÏ̹߳²ÏíÒ»¸ö´æ´¢¿Õ¼ä£¬ÕâʹµÃÏ̼߳äµÄͨÐÅ ......

java»ñÈ¡SQL²éѯ½á¹û¼¯ÖеÄÐÐÊýºÍÁÐÊý

http://cheneyph.javaeye.com/blog/477829
         ÔÚJavaÖУ¬»ñµÃResultSetµÄ×ÜÐÐÊýµÄ·½·¨ÓÐÒÔϼ¸ÖÖ¡£
µÚÒ»ÖÖ£ºÀûÓÃResultSetµÄgetRow·½·¨À´»ñµÃResultSetµÄ×ÜÐÐÊý
Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABL ......

java date

//¼òµ¥µÄjavaÈÕÆÚ¸ñʽ¿ØÖÆ
 java.Text.SimpleDateFormat format = new java.Text.SimpleDateFormat("yyyy-MM-dd hh:mm:ss");//ÄãÏëÒªµÄ¸ñʽ
//×¢ÒâÔµÄλÖÃÒª´óдµÄMM  Òª²»¾Í¿´µ½µÄ²»ÊÇÕýÈ·ÏÔʾ£¬¿ÉÒÔ°ÑÄãÏëҪת»»µÄÈÕÆÚת»»ÎªÏàÓ¦µÄ¸ñʽ°¡
format.format(new java.util.Date());//dateΪÈÕÆÚÐÍÊý¾Ý£¬¿ÉÒÔÈÎÒ ......

java ·ºÐÍ

ÔÚ
Java SE1.5
ÖУ¬
Ôö¼ÓÁËÒ»¸öеÄÌØÐÔ£º·ºÐÍ£¨ÈÕ±¾ÓïÖеÄ×ܳÆÐÍ£©¡£ºÎν·ºÐÍÄØ£¿Í¨Ë×µÄ˵£¬¾ÍÊÇ·º·ºµÄÖ¸¶¨¶ÔÏóËù²Ù×÷µÄÀàÐÍ£¬¶ø²»Ïñ³£¹æ·½Ê½Ò»ÑùʹÓÃijÖ̶ֹ¨µÄÀàÐÍÈ¥Ö¸¶¨¡£
·ºÐ͵ı¾ÖʾÍÊǽ«Ëù²Ù×÷µÄÊý¾ÝÀàÐͲÎÊý»¯£¬Ò²¾ÍÊÇ˵£¬¸ÃÊý¾ÝÀàÐͱ»Ö¸¶¨ÎªÒ»¸ö²ÎÊý¡£ÕâÖÖ²ÎÊýÀàÐÍ¿ÉÒÔʹÓÃÔÚÀà¡¢½Ó¿ÚÒÔ¼°·½·¨¶¨ÒåÖС£
  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ