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

javaÆðÔ´

¡¡Javaƽ̨ÓÉJavaÐéÄâ»ú£¨Java Virtual Machine£©ºÍJava Ó¦Óñà³Ì½Ó¿Ú£¨Application Programming Interface¡¢¼ò³ÆAPI£©¹¹³É¡£Java Ó¦Óñà³Ì½Ó¿ÚΪJavaÓ¦ÓÃÌṩÁËÒ»¸ö¶ÀÁ¢ÓÚ²Ù×÷ϵͳµÄ±ê×¼½Ó¿Ú£¬¿É·ÖΪ»ù±¾²¿·ÖºÍÀ©Õ¹²¿·Ö¡£ÔÚÓ²¼þ»ò²Ù×÷ϵͳƽ̨ÉÏ°²×°Ò»¸öJavaƽ̨֮ºó£¬JavaÓ¦ÓóÌÐò¾Í¿ÉÔËÐС£ÏÖÔÚJavaƽ̨ÒѾ­Ç¶ÈëÁ˼¸ºõËùÓеIJÙ×÷ϵͳ¡£ÕâÑùJava³ÌÐò¿ÉÒÔÖ»±àÒëÒ»´Î£¬¾Í¿ÉÒÔÔÚ¸÷ÖÖϵͳÖÐÔËÐС£JavaÓ¦Óñà³Ì½Ó¿ÚÒѾ­´Ó1.1x°æ·¢Õ¹µ½1.2°æ¡£Ä¿Ç°³£ÓõÄJavaƽ̨»ùÓÚJava1.5£¬×î½ü°æ±¾ÎªJava1.7¡£
¡¡¡¡Java·ÖΪÈý¸öÌåϵJavaSE(Java2 Platform Standard Edition£¬javaƽ̨±ê×¼°æ)£¬JavaEE(Java 2 Platform,Enterprise Edition£¬javaƽ̨ÆóÒµ°æ)£¬JavaME(Java 2 Platform Micro Edition£¬javaƽ̨΢ÐÍ°æ)¡£
¡¡¡¡* Java SE£¨Java Platform£¬Standard Edition£©¡£Java SE ÒÔÇ°³ÆΪ J2SE¡£ËüÔÊÐí¿ª·¢ºÍ²¿ÊðÔÚ×ÀÃæ¡¢·þÎñÆ÷¡¢Ç¶Èëʽ»·¾³ºÍʵʱ»·¾³ÖÐʹÓÃµÄ Java Ó¦ÓóÌÐò¡£Java SE °üº¬ÁËÖ§³Ö Java Web ·þÎñ¿ª·¢µÄÀ࣬²¢Îª Java Platform£¬Enterprise Edition£¨Java EE£©Ìṩ»ù´¡¡£
¡¡¡¡* Java EE£¨Java Platform£¬Enterprise Edition£©¡£Õâ¸ö°æ±¾ÒÔÇ°³ÆΪ J2EE¡£ÆóÒµ°æ±¾°ïÖú¿ª·¢ºÍ²¿Êð¿ÉÒÆÖ²¡¢½¡×³¡¢¿ÉÉìËõÇÒ°²È«µÄ·þÎñÆ÷¶Ë Java Ó¦ÓóÌÐò¡£Java EE ÊÇÔÚ Java SE µÄ»ù´¡ÉϹ¹½¨µÄ£¬ËüÌṩ Web ·þÎñ¡¢×é¼þÄ£ÐÍ¡¢¹ÜÀíºÍͨÐÅ API£¬¿ÉÒÔÓÃÀ´ÊµÏÖÆóÒµ¼¶µÄÃæÏò·þÎñÌåϵ½á¹¹£¨service-oriented architecture£¬SOA£©ºÍ Web 2.0 Ó¦ÓóÌÐò¡£
¡¡¡¡* Java ME£¨Java Platform£¬Micro Edition£©¡£Õâ¸ö°æ±¾ÒÔÇ°³ÆΪ J2ME¡£Java ME ΪÔÚÒƶ¯É豸ºÍǶÈëʽÉ豸£¨±ÈÈçÊÖ»ú¡¢PDA¡¢µçÊÓ»ú¶¥ºÐºÍ´òÓ¡»ú£©ÉÏÔËÐеÄÓ¦ÓóÌÐòÌṩһ¸ö½¡×³ÇÒÁé»îµÄ»·¾³¡£Java ME °üÀ¨Áé»îµÄÓû§½çÃæ¡¢½¡×³µÄ°²È«Ä£ÐÍ¡¢Ðí¶àÄÚÖõÄÍøÂçЭÒéÒÔ¼°¶Ô¿ÉÒÔ¶¯Ì¬ÏÂÔصÄÁ¬ÍøºÍÀëÏßÓ¦ÓóÌÐòµÄ·á¸»Ö§³Ö¡£»ùÓÚ Java ME ¹æ·¶µÄÓ¦ÓóÌÐòÖ»Ðè±àдһ´Î£¬¾Í¿ÉÒÔÓÃÓÚÐí¶àÉ豸£¬¶øÇÒ¿ÉÒÔÀûÓÃÿ¸öÉ豸µÄ±¾»ú¹¦ÄÜ¡£
¡¡¡¡2009Äê04ÔÂ20ÈÕ£¬oracle£¨¼×¹ÇÎÄ)Ðû²¼ÊÕ¹ºsun¡£
¡¡¡¡1991Ä꣬Sun¹«Ë¾µÄJames Gosling¡£Bill JoeµÈÈË£¬ÎªµçÊÓ¡¢¿ØÖÆ¿¾Ãæ°ü»úµÈ¼ÒÓõçÆ÷µÄ½»»¥²Ù×÷¿ª·¢ÁËÒ»¸öOak£¨Ò»ÖÖÏðÊ÷µÄÃû×Ö£©Èí¼þ£¬ËûÊÇJavaµÄÇ°Éí¡£µ±Ê±£¬Oak²¢Ã»ÓÐÒýÆðÈËÃǵÄ×¢Ò⣬ֱµ½1994Ä꣬Ëæ×Å»¥ÁªÍøºÍ3WµÄ·ÉËÙ·¢Õ¹£¬ËûÃÇÓÃJava±àÖÆÁËHotJavaä¯ÀÀÆ÷£¬µÃµ½ÁËSun¹«Ë¾Ê×ϯִÐйÙScott McNealyµÄÖ§³Ö£¬µÃÒÔÑз¢ºÍ·¢Õ¹¡£ÎªÁË´ÙÏúºÍ·¨ÂɵÄÔ­Òò£¬1995Äê


Ïà¹ØÎĵµ£º

JavaµÄÇóÖÊÊý

package stone;
public class PrimerNumber {
public static void main(String[] args) {
int MAX_NUMBER = 100;
boolean[] notPrimer= new boolean[MAX_NUMBER];
for(int i=2;i<=MAX_NUMBER;i++){
if(!notPrimer[i-1]){
for(int j=2*i;j<=MAX_NUMBER;j++){
if(j%i==0) notPrimer[j-1]=tr ......

C++תJAVAÐèҪעÒâµÄ¼¸µã

ƪÎÄÕÂÊÇ×î½ü¸Õ¿´µ½µÄ£¬ËäÈ»ÊÇ˵³ÌÐòÔ±´ÓC++תJAVAÐèҪעÒâµÄµØ·½£¬µ«ÊǺÜÏêϸµÄ˵³öÁËC++ºÍJAVAµÄ²»Í¬µÄµØ·½£¬¶ÔÓÚJAVAÖÐΪʲôûÓÐÖ¸Õ롢ΪʲôûÓÐÄÚ´æй¶¡¢½Ó¿ÚºÍC++ÖжàÖؼ̳еĹØϵ¡¢Òì³£»úÖƵÈÎÊÌâÒ²ÃèÊöµÄºÜÏêϸ£¬¹ÊתÔعýÀ´¡£
1.JavaÔÚÐéÄâ»úÉÏÔËÐÐ
JavaÔ´´úÂë²¢²»ÊDZ»±àÒë³ÉΪÆÕͨµÄ»úÆ÷´úÂë¡£¶øÊDZ»·­Òë³ÉÎ ......

C/C++ÓëJavaº¯ÊýÖØÔØÇø±ð!

#include <iostream>
using namespace std;
class Base {
public:
virtual void fn(int x) {
cout << "In Base class, int x = " << x << endl;
}
};
class SubClass : public Base {
public:
// º¯ÊýµÄÖØÔØ,ÕâÑùµÄÖØÔØ·½Ê½,ÔÚJavaÖÐÄÜÐÐ,ÔÚC/C++ÖÐÈ´²»ÐÐ
virt ......

JAVA¶ÁÈ¡iniÎļþµÄÒ»¸öÀ࣬´æ×ÅÒÔ±¸ºóÓã¡

package com.qiao.java;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.util.HashMap;
import java.util.Iter ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ