javaÖлñµÃÊý×éÖÐ×îСµÄÊý
public static void main(String[] args)
{
Integer[] arrInt = new Integer[6];
arrInt[0] = 123;
arrInt[1] = 3453;
arrInt[2] = 345;
arrInt[3] = 23;
arrInt[4] = 11;
arrInt[5] = 345;
int temp = 0;
for (int i = 0; i < arrInt.length; i++)
{
if(i == 0)
{
temp = arrInt[i];
}
else
{
temp = temp < arrInt[i]?temp:arrInt[i];
}
}
System.out.println(temp);
}
Ïà¹ØÎĵµ£º
²ÉÓô®¿Ú²Ù×÷½øÐжÌÐÅÊÕ·¢,ÊDZȽϳ£¼ûµÄÒ»ÖÖ·½Ê½.±ÈÈç,ºÜ¶àȺ·¢Èí¼þ,ÓõľÍÊÇÕâÖÖ·½·¨.
1.ÅäÖÃcomm.jar.
Comm.jarÊÇSubʵÏֵײ㴮¿Ú²Ù×÷µÄAPI,µ÷ÓÃÁ˱¾µØµÄDLLÎļþ,ÒòΪJava±¾Éí²»¾ß±¸Ö±½Ó·ÃÎÊÓ²¼þÉèÖõÄÄÜÁ¦,¶¼ÊÇͨ¹ýµ÷Óñ¾µØ·½·¨À´Êµ
ÏÖµÄ.¿ÉÒÔJavaµÄ¹Ù·½ÍøÕ¾ÏÂÔØ.ÏÂÔØÖ®ºó°ÑÆäÖÐComm.jar°üµ¼Èëµ½¹¤³ÌµÄClasspathÖÐ,°Ñ ......
Ŀ ¼
1 ¼¯ºÏ¿ò¼Ü... 2
1.1 ¼¯ºÏ¿ò¼Ü¸ÅÊö... 2
1.1.1 ÈÝÆ÷¼ò½é... 2
1.1.2 ÈÝÆ÷µÄ·ÖÀà... 4
1.2 Collection. 5
1.2.1  ......
תÌù£ºhttp://lvp.javaeye.com/blog/356650
1.ÈçºÎÀí½âException,ErrorºÍThrowable
ThrowableÊÇExceptionºÍErrorµÄ¸¸Àà.
Error±íʾ´íÎó£¬Ò»°ãÊÇϵͳ¼¶µÄ´íÎó£¡
ExceptionÒ»°ãÊdzÌÐòÔËÐÐÆÚ¼äµÄ´íÎó£¡
ͨ³ ......
ǰÑÔ£ºÇ°¶Îʱ¼äÔÚCSDNµÄC++ÉçÇøÓöµ½Ò»¸öÐèÒª·â×°¿¼ÇÚ»ú½Ó¿ÚµÄ¶¯Ì¬¿â¸øJAVAµ÷ÓõÄÌû×Ó£¬¹´ÆðÁËÎÒ¶ÔJAVAµÄÎÞÏÞ»³Äî¡£ÔÚ´Ë£¬ÎÒÏë°ÑÕâÏî¼¼Êõ¼òµ¥ÔÙ½éÉÜһϡ£
Ò»¡¢¹ØÓÚJava Native Interface (JNI)
JNIÊÇJAVA±¾µØ±à³Ì½Ó¿Ú£¬ÊôÓÚJDKµÄÒ»²¿·Ö¡£ËüÔÊÐíJAVAÄܹ»²Ù×÷±¾µØAPI»òÓÉÆäËûÓïÑÔ±àдµÄ¶¯Ì¬¿â¡£²»¹ýµ±ÄãʹÓÃÕâÏî¼¼ÊõµÄʱºò£ ......
¢AWT£ºAbstract Window Toolkit
¢GUI£º Graphical User Interface
ͨ¹ýÌṩ²Ëµ¥¡¢°´Å¥¡¢±êÇ©±êʶ¡¢Êó±êµÈ£¬Íê³É¶Ô¼ÆËã»ú·¢³öÖ¸Áî¡¢Æô¶¯Ó¦ÓóÌÐòµÈ²Ù×÷ÈÎÎñ¡£
¢ÔÚjavaÖУ¬AWTÊÇÓÃÀ´´¦ÀíͼÐÎ×î»ù±¾µÄ·½Ê½£¬Ëü¿ÉÒÔÓÃÀ´´´½¨javaµÄappletºÍ´°¿Ú¡ ......