您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 咨询培训 > java_SUN_JAVA 培训专用教材c01-04
JavaJavaappletsJavaJavaGUIsSUNCertifiedJavaProgrammerSUNCertifiedJavaDeveloperJavaJavaGUIApplet-JavaJavaJavaJavaJava“Java”“JavaProgrammingforNon—Programmers”SL-110JavaGUISolarisTMMotifGUIWindows95MicrosoftWindows95GUIJavaTheJavaProgrammingLanguageBasicsGettingStartedGettingStartedIdentifiers,Identifiers,Keywords,andTypesKeywords,andTypesExpressionsandExpressionsandFlowControlFlowControlArraysArraysObject-OrientedProgrammingObjectsObjectsandClassesandClassesAdvancedAdvancedLanguageFeaturesLanguageFeaturesExceptionHandlingExceptionsExceptions1DevelopingGraphicalUserlnterfacesBuildingGUIsBuildingGUIsTheAWTTheAWTEventModelEventModelTheAWTTheAWTComponentLibraryComponentLibraryJavaFoundationJavaFoundationClassesClasses-12345678GUIs9AWT10AWT11Java12JavaApplets1314I/O15-12JavaJavaJavaJavaC-3456JavaJava2Java5JavaJDK1.12JavaJDKTM1.2-78GUIs9AWTJavaJavaJavaJava1.1JavaJDK1.01.1compacteventhandler-10AWTJavaGUIsAWTJavaAWT1.111JavaJDK1.2JavaJFCSwingSwingJFCDraganddrop-12JavaApplets1314I/O15appletJDK1.2.JavaJava/InternetTCP/IP-JavaJavaJavaGUIsGUISwingJavaappletsGUIJavaappletsTCP/IPUDP3JavaModuleSkillsGainedDescribeKeylanguagefeaturesCompileandrunaJavaapplicationUnderstandandusetheonlinehypertextJavatechnologydocumentationDescribelanguagesyntacticelementsandconstructsUnderstandtheobject-orientedparadigmanduseobject-orientedfeaturesUnderstandanduseexceptionsDevelopaGUIDescribetheJavatechnologyplatform’sAbstractWindowToolkitfromwhichGUIsarebuiltTakeinputfromagraphicaluserinterfaceUnderstandeventhandlingDescribethemainfeaturesofSwingDevelopJavaappletsUnderstandthebasicsofmultithreadingDevelopmultithreadedJavaapplicationsandappletsPerformI/OtoallsourceswithouttheuseofaGUIReadandwritetofilesandotherdatasourcesDevelopJavaclientandserverprogramsusingTCP/IPandUDP123456789101112131415ModuleDay1A.M.A.M.A.M.P.M.P.M.A.M.P.M.A.M.A.M.P.M.A.M.4Day2Day3Day4Day5AboutThisCourseModule1-GettingStartedModule2-Identifiers,Keywords,andTypesModule3-ExpressionsandFlowControlModule4-ArraysModule5-ObjectsandClassesModule6-AdvancedLanguageFeaturesModule7-ExceptionsModule8-BuildingGUIsModule9-TheAWTEventModelModule10-TheAWTComponentLibraryModule11-IntroductiontoJFCModule12-IntroductiontoAppletsModule13-ThreadsModule14-StreamI/OandFilesModule15-NetworkingA.M.P.M.A.M.P.M.P.M.-SUNEducationalServicesSES-OO-100OO-120SL-110JavaJava-SL-110CC++WorldWideWeb–altoallfiles.System%Youhavemailcourierboldsystem%suPassword:courieritalicTodeleteafile,typermfilename.6PalatinoReadChapter6inUser’sGuide.ThesearecalledclassoptionsYoumustberoottodothis.JavaJava-JavaWebJava-JavaJavaJavaClassPackageAppletsApplicationsJava7-Java(API)Java.lang-LindholmandYellin.1997.TheJavaVirtualMachineSpecification.Addison-Wesley.Yellin,Frank.Low-LevelSecurityinJava,whitepaper.[Online].Available:——-Java-JavaJVMJavaJavaJava-Java1.3.2JavaJava-JavaWebJavaJavaJVMJava.classpublicJavaJavaJava“”“”JavaJVM-CPU9-JavaJavaJVMJavaJavaappletsWebJVMJVM-CPUJava-SUNTMJVMJavaJVMJVMJavaJava1.3.3-Java---JVMCC++JavaJavaJavaJVM1.3.4Java10Java“”.classJavaappletsJVMJavaJavaCC++SUNMicrosystemsJavaHotSpotJavaC++HotSpotHotSpotHotSpotTMTMJava-JavaJavaJVM“”JavaJVM-JavaJVM11JVM-JVMJavaJava“HelloWorld!”Java1.4.1HelloWorldApp1.//2.//SampleHelloWorldapplication3.//4.publicclassHelloWorldApp{5.publicstaticvoidmain(Stringargs[]){6.System.out.println(HelloWorld!);7.}8.}“HelloWorld!”1.4.2HelloWorldApp1-31-31//2//SampleHelloWorldapplication3//44HelloWorldAppClassnameclassname·classHelloWorldApp.class,HelloWorldApp4publicclassHelloWorldApp55JavaCC++main()main()argsString125publicstaticvoidmain(Stringargs)-publicmain()Javastaticmain()HelloWorldAppmain()voidmain()JavaStringargs[]StringjavaHelloWorldAppargs0args1····66SystemoutPrintStreamoutprintln()“HelloWorld!”6System.out.println(“HelloWorld!”);println()7-87-8main()HelloWorldApp781.4.3HelloWorldAppHelloWorldAppHelloWorldApp.javajavacHelloworldApp.javajavaHelloWorldAppHelloWorldApp.javac:\student\javacHelloWorldApp.javaHelloWorldApp.classHelloWorldAppJavabinjava:c:\student\javaHelloWorldAppHelloWorld!PATHjavajavacc:\jdk1.2\bin1.4.4-javac:CommandnotfoundPATHjavacjavacJDKbinHelloWorldApp.java:6:Methodprintl(java.lang.String)notfoundinclassjava.io.PrintStream.System.out.printl(HelloWorld!);println13-InclassHelloWorldApp:mainmustbepublicorstaticstaticpublicmain-can’tfindclassHelloWorldAppjavaHelloWorldApp,filename.classJava·javapublicclassHelloWorldappHelloWorldapp.javapublicclassHelloWorldapp{HellloWorldapp.class(HelloWorldApp.class)--“”-Java“”1.2.Javajava.langjava.awtjava.appletjava.netjava.iojava.utilJavaJDKjava.langStringMathIntegerThread14java.awtAWTjava.appletappletjava.net(URLs)java.ioI/Ojava.utilJavaAPIJavaAPI1.2.(HTML)API3.HTMLAPI1-11-1:15-JavaAPI1APIJavaAPIjava.langSystem
本文标题:java_SUN_JAVA 培训专用教材c01-04
链接地址:https://www.777doc.com/doc-958887 .html