JavaJavaLanguageFoundationClicktobuyNOW!PDF-XChange!PDF-XChangeJavaJavaJavaJavaJavaJavaJava(API)ClicktobuyNOW!PDF-XChange!PDF-XChangeJava–––––C++SmallTalk–appletsapplicationsJavaSEJavaEEJavaMEClicktobuyNOW!PDF-XChange!PDF-XChangeJava–ClicktobuyNOW!PDF-XChange!PDF-XChangeJava–JavaClicktobuyNOW!PDF-XChange!PDF-XChangeJavaJava–Java––ClicktobuyNOW!PDF-XChange!PDF-XChangeJavaJavaVirtualMachineJVM––bytecode––JavaWebClicktobuyNOW!PDF-XChange!PDF-XChangeJavaJVM–CPU–––––ClicktobuyNOW!PDF-XChange!PDF-XChangeJava–––SUNJVMJavaClicktobuyNOW!PDF-XChange!PDF-XChange–––Java–––JVMClicktobuyNOW!PDF-XChange!PDF-XChangeClicktobuyNOW!PDF-XChange!PDF-XChangeJavaJREJavaRuntimeEnviromentJavaJVM–ClassLoader–ByteCodeVerifier–InterpreterClicktobuyNOW!PDF-XChange!PDF-XChangeHelloWorldApp1//2//SampleHelloWorldapplication3//4publicclassHelloWorldApp{5publicstaticvoidmain(Stringargs[]){6System.out.println(HelloWorld!“+args[0]);7}8}ClicktobuyNOW!PDF-XChange!PDF-XChangeHelloWorldApp–1-31-31//2//SampleHelloWorldapplication3//22JavaJavaJava//commentononeline/*commentononeormoreline*//**documentingcomment*/ClicktobuyNOW!PDF-XChange!PDF-XChangeHelloWorldApp–44HelloWorldAppclassnameclassname·classHelloWorldApp.class,HelloWorldApp4publicclassHelloWorldAppClicktobuyNOW!PDF-XChange!PDF-XChangeHelloWorldApp–55JavaCC++main()main()argsString5publicstaticvoidmain(Stringargs)publicmain()Javastaticmain()HelloWorldAppmain()voidmain()JavaStringargsStringClicktobuyNOW!PDF-XChange!PDF-XChangeHelloWorldApp–66SystemoutPrintStreamoutprintln()“HelloWorld!”args[0]args[0]6System.out.println(“HelloWorld!”+args[0]);ClicktobuyNOW!PDF-XChange!PDF-XChangeHelloWorldApp–7-87-8main()HelloWorldApp78ClicktobuyNOW!PDF-XChange!PDF-XChangeHelloWorldApp–HelloWorldApp.javajavacHelloworldApp.java–javaHelloWorldApp“It’smyfirstJavaprogram.”–ClicktobuyNOW!PDF-XChange!PDF-XChange“_”“$”,identifieruserNameUser_name_sys_varl$changethisonethisthisJavaJavaClicktobuyNOW!PDF-XChange!PDF-XChangeJavaabstractdoimplementsprivatet