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

JavaÓïÑÔÊä³ö¾Å¾Å³Ë·¨±í

public class Multiplication
{
      public static void main(String[] args)
     {
          // TODO Auto-generated method stub
          for(int i = 1; i < 10; i++)
         {
                for(int j = 1; j <= i; j++)
               {
                     System.out.print(j+"*"+i+"="+i*j+"\t\t");
               }
               System.out.println();
        }
    }
}


Ïà¹ØÎĵµ£º

Java Semaphore

package test;
/**
*
* @author openpk
*/
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;
public class Main {
public static void main(String[] args) {
// Ï̳߳Ø
ExecutorService exec = Executors ......

ÔÚJAVAÎļþÖлñÈ¡¸ÃÏîÄ¿µÄÏà¶Ô·¾¶

ÔÚJAVAÎļþÖлñÈ¡¸ÃÏîÄ¿µÄÏà¶Ô·¾¶
1.»ù±¾¸ÅÄîµÄÀí½â
¡¡¡¡¾ø¶Ô·¾¶£º¾ø¶Ô·¾¶¾ÍÊÇÄãµÄÖ÷Ò³ÉϵÄÎļþ»òĿ¼ÔÚÓ²ÅÌÉÏÕæÕýµÄ·¾¶£¬(URLºÍÎïÀí·¾¶)ÀýÈ磺
C:\xyz\test.txt ´ú±íÁËtest.txtÎļþµÄ¾ø¶Ô·¾¶¡£http://www.sun.com/index.htmÒ²´ú±íÁËÒ»¸ö
URL¾ø¶Ô·¾¶¡£
¡¡¡¡Ïà¶Ô·¾¶£ºÏà¶ÔÓëij¸ö»ù׼Ŀ¼µÄ·¾¶¡£°üº¬WebµÄ ......

¹ØÓÚjavaÖеÄÊýÖµ¼ÆËã

¼ÇµÃÔÚcsdnµÄij¸öÌû×ÓÖÐÌáµ½¼ÆËã½×³ËµÄÌÖÂÛ£¬µ±Ê±ÓкܶàÈ˶¼Ìá³öÁË×Ô¼ºµÄËã·¨£¬Ã¿¸öÈ˶¼ÏëµÄºÜÖÜÈ«¡£
ÕâÁ½ÌìÕýºÃ×Ô¼º¿´µ½ÁËÏà¹ØµÄÎÄÕ£¬ÄÇô×ܽáÕûÀíһϣ¬ÒÔ¹©´ó¼Ò²Î¿¼£¬Ò²ÎªÁË×Ô¼ºµÄ֪ʶ×ܽᡣ
ÔÚÊýѧÖУ¬Ö»ÓзǸºÕûÊý²ÅÓн׳ËÔËË㣬Òâ˼¾ÍÊÇ˵¸¡µãÊý¡¢¸ºÕûÊý¶¼²»ÄܽøÐмÆË㣬ÄÇôÎÒÃÇÔÚ¿¼ÂǼÆËãʱ£¬Ð¡ÓÚ0µÄÊý×ÖÎÒÃÇÊDz ......

Java°²È«±à³Ì±Ê¼Ç¡¾1¡¿ »ù±¾¹¤¾ß¼ò½é¡£


1.1 J2SE
µÄÖ÷Òª¹¤¾ß
»ù±¾¹¤¾ß£º
javac
  
Java
±à³ÌÓïÑԵıàÒëÆ÷¡£±¾Êé¸÷ÕµijÌÐò¶¼ÊÇÔÚ
DOS
´°¿ÚÖÐͨ¹ýÖ´ÐÐ
"javac
ÎļþÃû

À´±àÒë
Java
³ÌÐòµÄ¡£ÎļþÃû±ØÐëÒÔ
.java
Ϊºó׺£¬±àÒëÒÔºóÉú³É
.class
Ϊºó׺µÄ×Ö½ÚÂëÎļþ¡£
java
ÓÃÓÚÖ´ÐÐ
Java
Ó¦ÓóÌÐò¡£±¾Êé¸÷ÕÂµÄ³Ì ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ