Java课件合集(1-10章).

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

Java语言程序设计王勇yongwang@auts.edu.cn马皓mah@pku.edu.cn杨献峰yxf110@hist.edu.cn课程提纲1.Java语言概述2.Java语言语法基础3.面向对象的特征4.Applet及其应用5.图形用户界面设计6.异常7.线程8.集合操作9.Java输入/输出10.网络编程参考资料•Java语言程序设计,吕凤翥、马皓编著,清华大学出版社•Java编程思想,第2版,候捷译,计算机科学丛书,机械工业出版社•TheJavaTutorial,apracticalguideforprogrammers,•ThinkinginJava,2ndedition,Revision11,2000,BruceEckel,•ThinkinginJava,3rdEditionRevision4.0,BruceEckel•TheJavaLanguageSpecification,2ndEdition,JamesGosling,BillJoy,GuySteele,GiladBracha第一章Java语言概述1.Java的发展2.什么是Java?3.Java程序介绍4.Java程序运行环境Java的发展•早期的历史1.1991年,SunMicrosystems公司建立“theGreenProject”(Secretly),13个成员,目的开发消费电子类产品市场(嵌入式设备),初始选择C++语言2.1992年夏天,*7设备,运行在一种全新的、对立于处理器的语言“Oak”,潜在的市场有线电视3.GreenTeamFirstPersonTeam(70人),电视机顶盒/video-on-demand,市场不成熟???4.JamesGosling,BillJoy,andEricSchmidt…“whynottheInternet?5.在Mosaic浏览器的基础上开发“WebRunner”,“Hollywood-meets-Silicon-Valley”的两个演示(3D动态分子、线排序)Java的发展•早期的历史6.Java面世•1995年3月,“1.0a”7/8份二进制拷贝,“1.0a2”源代码公布在Internet•下载数量和反馈邮件剧增•OnMay23,1995,JohnGage,directoroftheScienceOfficeforSunMicrosystems,andMarcAndreessen,cofounderandexecutivevicepresidentatNetscapeTM,steppedontoastageandannouncedtotheSunWorldaudiencethatJavaTMtechnologywasreal,itwasofficial,anditwasgoingtobeincorporatedintoNetscapeNavigatorTM,theworld'sportaltotheInternet.Java的发展•历史记录-WhoJamesGosling:GreenTeamoriginal,FirstPersonemployee,originalmemberJavaProductsGroup,leadengineerandkeyarchitectofJavatechnologyBillJoy:Cofounderandvicepresident,SunMicrosystems,Inc.,principaldesigneroftheUniversityofCalifornia,Berkeley,versionoftheUNIXoperatingsystemEricSchmidt:FormerSunMicrosystemschieftechnicalofficer,FormerNovellchairmanandCEO,ChairmanoftheBoardandCEO,GoogleInc.Java的发展•历史记录*7:AnewSPARCbased,handheldwirelessPDA,witha5colorLCDwithtouchscreeninputJava的发展java.sun.com的主页Java的发展•五年回顾(1996-2000)–1995年•May23,Javatechnologylaunched–1996年1.Jan23,JDK1.0softwarerelease2.May29,firstJavaOnedeveloperconference(JavaBeans,JavaMediaAPIs,servlets,etc)3.July10,50,000peopleattendSunJavaDayinTokyo4.Aug16,Sun/Addison-Wesley(TheJavaTutorialandthefirstJavaLanguageSpecification)5.Sep,83,000WebpageshaveincorporatedJavatechnology6.Oct25,SunannouncesfirstJust-In-Time(JIT)compilerforJavaplatform7.Oct29,JavaCardAPIannounced8.Dec9,JDK1.1betasoftwarereleasedJava的发展•五年回顾(1996-2000)–1997年1.Feb18,JDK1.1releaseships2.Mar4,JavaWebServerbetaandJavaServletDevelopersKitsoftwarereleased3.Mar10,JavaNamingandDirectoryInterface(JNDI)APIintroduced4.Mar11,Morethan220,000downloadsofJDK1.1softwareinjustthreeweeks5.Apr2,JavaOneconference(10,000attendees,theworld'slargestdeveloperconference),EnterpriseJavaBeanstechnology6.Aug5,JavaMediaandCommunicationAPIsreleased7.Aug5,Morethan100,000downloadsofJavaBeansDevelopmentKitsoftware8.Sep23,JavaDeveloperConnectionprogramhas100,000+membersJava的发展•五年回顾(1996-2000)–1998年1.Jan20,JDK1.1softwarereleasedownloadstop2million2.Mar24,JavaOneconferencedraws15,0003.Mar31,Ericsson,Sony,Siemens,BEA,OpenTVandotherslicenseJavatechnology4.June3,Visalaunchesworld'sfirstsmartcardbasedonVisa'sOpenPlatformandSun'sJavaCardtechnology5.Nov5,SunworkswithLinuxCommunityonJava2softwareporttoLinux6.Dec8,Java2platformshipsJava的发展•五年回顾(1996-2000)–1999年1.Jan13,MajorconsumerelectronicsmanufacturerssupportJavatechnologyfordigitaltelevision2.Feb24,Java2platformsourcecodereleased3.Mar4,XMLsupportforJavaplatformunveiled4.Mar27,JavaHotSpotperformanceengineunveiled5.June2,JavaServerPagestechnologyunveiled6.June15,JavaOnedeveloperconferencedraws20,0007.June15,SunannouncesthreeeditionsofJavaplatform:J2SE,J2EE,J2ME8.June29,J2EEReferenceImplementationAlphaships9.Aug25,J2SEversion1.3betasoftwarereleased10.Aug,TheJavaPhoneAPIspecificationincludedinanapprovedGSMstandardbytheEuropeanTelecommunicationsStandardsInstituteJava的发展•五年回顾(1996-2000)–1999年11.Sep30,J2EEbetasoftwarereleased12.Dec8,J2EEplatformships13.Dec8,J2SEplatformonLinuxships–2000年1.Apr19,J2EEplatformlicensedtoArtTechnologyGroup,BEASystems,Compaq,Hitachi,SilverStream,Sybase,..2.May,MembershipinJavaDeveloperConnectionprogramtops1.5million3.May8,SuntoworkwithChineseTVindustrytodefineinteractivedigitalTVspecforChinaTV4.May8,J2SEv.1.3platformreleased5.May17,J2SEv1.3platformgainsindustrysupportfromApplewithMacOSX第一章Java语言概述1.Java的发展2.什么是Java?3.Java程序介绍4.Java程序运行环境什么是Java?•JavaTechnology1.编程语言(ProgrammingLanguage)2.运行平台(Platform)什么是Java?•Java编程语言的特点1.简单(Simple)2.面向对象(Objectoriented)3.解释性(Interpreted)4.平台独立和可移植(Architectureneutral&Portable)5.鲁棒和安全(Robust&Secure)6.多线程(Multithreaded)7.分布式(Distributed)8.高性能(Highperformance)9.动态(Dynamic)•Java编程语言的特点1.简单(Simple)–简单易学–不存在指针、单一继承、内存空间自动回收2.面向对象(Objectoriented)–类和对象数据和方法的封装–封装、继承、多态性–注重于数据和操作数据的方法,而不是流3.解释性(Interpreted)–Java编译器生成字节码,Java解释器执行字节码–链接过程简单,仅仅将新的类装载(load)入运行环境什么是Java?•Java编程语言的特点4.平台独立(Architectureneutral)和可移植(Portable)–Java编译器产生的字节码(bytecode)可运行在异种网络环境中(不同的硬件系统和不同的操作系统)–Java程序在不同的平台中行为一致,不存在数据类型的不一致等现象什么是Java?•Java编程语言的特点5.鲁棒/健壮(Robust)和安全(Secure)–取消了指针的不安全性,增强了程序的健壮性–内存管理简单,“new”构造对象,对象释放(automaticgarbagecollection)–可靠的语言:compile-ti

1 / 553
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功