¹ØÓÚ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ÖÐÎÄÕ¾ÉçÇøÃÅ»§iFo/{#Ia'E$e
}
4VnR"f9o
ÔÚC#ÖÐint[][] myIntÊÇÉùÃ÷Ò»¸ö½»´íÊý×飬ÉùÃ÷¶þάÊý×éÊÇÕâôÉùÃ÷int[,] myInt£¬ÉÏÃæµÄ´úÂëÈç¹û»»³ÉC#µÄ£¬ÐèÒªÈçϱíʾ£ºJAVAÖÐÎÄÕ¾ÉçÇøÃÅ»§h-Rvy7buI
XrP @8m
class clsArrat2D
%xTVs2`a M:E5p
&
Ïà¹ØÎĵµ£º
Javaѧϰ´ÓÈëÃŵ½¾«Í¨
Ò»¡¢ JDK (Java Development Kit)
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......
¡¡Ò»¡¢Àí½â¶àÏß³Ì
¡¡¡¡¶àÏß³ÌÊÇÕâÑùÒ»ÖÖ»úÖÆ£¬ËüÔÊÐíÔÚ³ÌÐòÖв¢·¢Ö´Ðжà¸öÖ¸ÁîÁ÷£¬Ã¿¸öÖ¸ÁîÁ÷¶¼³ÆΪһ¸öỊ̈߳¬±Ë´Ë¼ä»¥Ïà¶ÀÁ¢¡£
¡¡¡¡Ïß³ÌÓÖ³ÆΪÇáÁ¿¼¶½ø³Ì£¬ËüºÍ½ø³ÌÒ»ÑùÓµÓжÀÁ¢µÄÖ´ÐпØÖÆ£¬ÓɲÙ×÷ϵͳ¸ºÔðµ÷¶È£¬Çø±ðÔÚÓÚÏß³ÌûÓжÀÁ¢µÄ´æ´¢¿Õ¼ä£¬¶øÊǺÍËùÊô½ø³ÌÖеÄÆäËüÏ̹߳²ÏíÒ»¸ö´æ´¢¿Õ¼ä£¬ÕâʹµÃÏ̼߳äµÄͨÐÅ ......
http://cheneyph.javaeye.com/blog/477829
ÔÚJavaÖУ¬»ñµÃResultSetµÄ×ÜÐÐÊýµÄ·½·¨ÓÐÒÔϼ¸ÖÖ¡£
µÚÒ»ÖÖ£ºÀûÓÃResultSetµÄgetRow·½·¨À´»ñµÃResultSetµÄ×ÜÐÐÊý
Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABL ......
//¼òµ¥µÄjavaÈÕÆÚ¸ñʽ¿ØÖÆ
java.Text.SimpleDateFormat format = new java.Text.SimpleDateFormat("yyyy-MM-dd hh:mm:ss");//ÄãÏëÒªµÄ¸ñʽ
//×¢ÒâÔµÄλÖÃÒª´óдµÄMM Òª²»¾Í¿´µ½µÄ²»ÊÇÕýÈ·ÏÔʾ£¬¿ÉÒÔ°ÑÄãÏëҪת»»µÄÈÕÆÚת»»ÎªÏàÓ¦µÄ¸ñʽ°¡
format.format(new java.util.Date());//dateΪÈÕÆÚÐÍÊý¾Ý£¬¿ÉÒÔÈÎÒ ......
ÔÚ
Java SE1.5
ÖУ¬
Ôö¼ÓÁËÒ»¸öеÄÌØÐÔ£º·ºÐÍ£¨ÈÕ±¾ÓïÖеÄ×ܳÆÐÍ£©¡£ºÎν·ºÐÍÄØ£¿Í¨Ë×µÄ˵£¬¾ÍÊÇ·º·ºµÄÖ¸¶¨¶ÔÏóËù²Ù×÷µÄÀàÐÍ£¬¶ø²»Ïñ³£¹æ·½Ê½Ò»ÑùʹÓÃijÖ̶ֹ¨µÄÀàÐÍÈ¥Ö¸¶¨¡£
·ºÐ͵ı¾ÖʾÍÊǽ«Ëù²Ù×÷µÄÊý¾ÝÀàÐͲÎÊý»¯£¬Ò²¾ÍÊÇ˵£¬¸ÃÊý¾ÝÀàÐͱ»Ö¸¶¨ÎªÒ»¸ö²ÎÊý¡£ÕâÖÖ²ÎÊýÀàÐÍ¿ÉÒÔʹÓÃÔÚÀà¡¢½Ó¿ÚÒÔ¼°·½·¨¶¨ÒåÖС£
......