java ÎļþÃüÃûÓëÖ´ÐÐ
ÎļþÃû£ºSjis.java
class Sj
{
public static void main(String[] args)
{
}
}
-------------------------------------
Ö´ÐУº
javac Sjis.java
Java Sj
¡¢¡¢¡¢¡¢¡¢¡¢¡¢¡¢¡¢¡¢¡¢¡¢¡¢¡¢¡¢¡¢¡¢
ÎļþÃû£ºSjis.java
public class Sjis.java
{
public static void main(String[] args)
{
}
}
-------------------------------------
Ö´ÐУº
javac Sjis.java
Java Sjis
×¢Ò⣺û“public”ʱ£¬classÃüÃû¿ÉÒÔºÍÎļþÃû²»Í¬£¬µ«Ö´ÐÐʱÐèҪעÒâÀí½â¸÷×ԵĶÔÓ¦¡£
ÓГpublic”ʱ£¬classÃüÃû¿ÉÒÔºÍÎļþÃûÐèÒªÏàͬ¡£
Ïà¹ØÎĵµ£º
ÔÚÏÂÃæÕâ¸ö³ÌÐòÖÐString args[]Æðʲô×÷Óã¿ÎÒѧ¹ýC++£¬String args[]ÓëC++ÖеÄʲôÀàËÆ£¿Èç¹ûÊÇC++£¬ÏëÒªÊä³ö×Ö·û´®Ö»ÒªÔÚÏÂÃæдcout<<"...."<<endl;¾Í¿ÉÒÔÁË,void main()ÖеÄÀ¨ºÅΪ¿Õ£¬¶øjavaÖÐΪʲôҪдString args[]ÄØ£¿
class Example{
public static void main(String args[]){
System.out.printl ......
ÓÃJavaдµÄͼƬä¯ÀÀÆ÷
package com.wenbo.myprogrem.day16;
import java.awt.BorderLayout;
import java.awt.CardLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionLis ......
<%
URL url = new URL("http://www.itpub.net");
//½¨Á¢URL¶ÔÏ󣬲¢ÊµÀý»¯Îªurl£¬»ñµÃҪץȡµÄÍøÒ³µØÖ·
BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream(),"GB2312"));
//½¨Á¢BufferedReader¶ÔÏ󣬲¢ÊµÀý»¯Îªreader£¬ÕâÀïµÄGB2312ÊÇҪץȡµÄÍøÒ³±àÂë¸ñʽ
whi ......
2006ÄêÎÒÔø¾Ð´¹ýһƪÌÖÂÛJavaδÀ´µÄÎÄÕ£¬ÔÚÄÇƪÎÄÕÂÖÐÎÒÌÖÂÛÁË¿ªÔ´¡¢JavaÔÚÏû·Ñµç×ÓÉ豸ÖеÄʹÓã¬ÏÖÔÚÔÚËùÓÐÀàÐ͵ÄÒƶ¯É豸ÉÏJavaµÄÓ¦ÓÃÕýÔÚÖð²½ÉÏÉý¡£¶ÔSun±»ÊÕ¹ºÒ»Ê£¬ÒÔ¼°JavaÓëOracle²úÆ·¼¯³ÉÎÒûʲôºÃÔ¤²âµÄ£¬Ò²Ã»Ê²Ã´ºÃµÄ½¨Ò飬ÎÒÖ»µ£ÐÄJavaµÄδÀ´»á×ßÏòºÎ·½?ÔÚÕâƪÎÄÕÂÖÐÎÒÖØÐÂÉóÊÓÁËOracleÊÕ¹ºSunºóJavaµÄδÀ´Ö ......
ÔÚjavaÖÐʵÖÊÖ»´æÔÚÒ»ÖÖ´«µÝ·½Ê½£º¼´Öµ´«µÝ¡£ ¶øÒýÓô«µÝÊǶÔC/C++¶øÑԵġ£½áÂÛ£º
¡¡¡¡¶ÔÓÚ»ù±¾ÀàÐÍ£¬ÔÚ·½·¨ÌåÄÚ¶Ô·½·¨²ÎÊý½øÐÐÖØи³Öµ£¬²¢²»»á¸Ä±äÔÓбäÁ¿µÄÖµ¡£
¡¡¡¡¶ÔÓÚÒýÓÃÀàÐÍ£¬ÔÚ·½·¨ÌåÄÚ¶Ô·½·¨²ÎÊý½øÐÐÖØи³ÓèÒýÓ㬲¢²»»á¸Ä±äÔÓбäÁ¿Ëù³ÖÓеÄÒýÓá£
¡¡¡¡·½·¨ÌåÄÚ¶Ô²ÎÊý½øÐÐÔËË㣬²»Ó°ÏìÔÓбäÁ¿µÄÖµ¡£
¡¡¡¡ ......