《语言概述 》PPT课件.ppt
《《语言概述 》PPT课件.ppt》由会员分享,可在线阅读,更多相关《《语言概述 》PPT课件.ppt(47页珍藏版)》请在三一办公上搜索。
1、1,面向对象程序设计(Java),武汉大学国际软件学院 桂浩,2,课程提纲,Java语言概述Java语言语法基础面向对象的特征Applet及其应用图形用户界面设计异常线程集合操作Java输入/输出网络编程,3,参考资料,Java语言程序设计,吕凤翥、马皓编著,清华大学出版社Java编程思想,第2版,候捷译,计算机科学丛书,机械工业出版社The Java Tutorial,a practical guide for programmers,http:/docs/books/tutorialThinking in Java,2nd edition,Revision 11,2000,Bruce Ec
2、kel,http:/Thinking in Java,3rd Edition Revision 4.0,Bruce EckelThe Java Language Specification,2nd Edition,James Gosling,Bill Joy,Guy Steele,Gilad Bracha,4,第一章 Java语言概述,Java的发展什么是Java?Java程序介绍Java程序运行环境,5,Java的发展,早期的历史1991年,Sun Microsystems公司建立“the Green Project”(Secretly),13个成员,目的开发消费电子类产品市场(嵌入式设备)
3、,初始选择C+语言1992年夏天,*7设备,运行在一种全新的、对立于处理器的语言“Oak”,潜在的市场有线电视Green TeamFirstPerson Team(70人),电视机顶盒/video-on-demand,市场不成熟?James Gosling,Bill Joy,and Eric Schmidt“why not the Internet?在Mosaic浏览器的基础上开发“WebRunner”,“Hollywood-meets-Silicon-Valley”的两个演示(3D动态分子、线排序),6,Java的发展,早期的历史Java面世1995年3月,“1.0a”7/8份二进制拷贝,“
4、1.0a2”源代码公布在Internet下载数量和反馈邮件剧增On May 23,1995,John Gage,director of the Science Office for Sun Microsystems,and Marc Andreessen,cofounder and executive vice president at NetscapeTM,stepped onto a stage and announced to the SunWorld audience that JavaTM technology was real,it was official,and it was
5、going to be incorporated into Netscape NavigatorTM,the worlds portal to the Internet.,7,Java的发展,历史记录-Who,James Gosling:Green Team original,FirstPerson employee,original member Java Products Group,lead engineer and keyarchitect of Java technology,Bill Joy:Cofounder and vice president,Sun Microsystems
6、,Inc.,principal designer of the University of California,Berkeley,version of the UNIX operating system,Eric Schmidt:Former Sun Microsystems chief technical officer,Former Novell chairman and CEO,Chairman of the Board and CEO,Google Inc.,8,Java的发展,历史记录,*7:A new SPARC based,handheld wireless PDA,with
7、a 5 color LCD with touchscreen input,9,Java的发展,的主页,10,Java的发展,五年回顾(19962000)1995年May 23,Java technology launched 1996年Jan 23,JDK 1.0 software releaseMay 29,first JavaOne developer conference(JavaBeans,Java Media APIs,servlets,etc)July 10,50,000 people attend Sun Java Day in TokyoAug 16,Sun/Addison-W
8、esley(The Java Tutorial and the first Java Language Specification)Sep,83,000 Web pages have incorporated Java technologyOct 25,Sun announces first Just-In-Time(JIT)compiler for Java platformOct 29,Java Card API announcedDec 9,JDK 1.1 beta software released,11,Java的发展,五年回顾(19962000)1997年Feb 18,JDK 1.
9、1 release shipsMar 4,Java Web Server beta and Java Servlet Developers Kit software releasedMar 10,Java Naming and Directory Interface(JNDI)API introducedMar 11,More than 220,000 downloads of JDK 1.1 software in just three weeksApr 2,JavaOne conference(10,000 attendees,the worlds largest developer co
10、nference),Enterprise JavaBeans technologyAug 5,Java Media and Communication APIs releasedAug 5,More than 100,000 downloads of JavaBeans Development Kit softwareSep 23,Java Developer Connection program has 100,000+members,12,Java的发展,五年回顾(19962000)1998年Jan 20,JDK 1.1 software release downloads top 2 m
11、illionMar 24,JavaOne conference draws 15,000Mar 31,Ericsson,Sony,Siemens,BEA,OpenTV and others license Java technologyJune 3,Visa launches worlds first smart card based on Visas Open Platform and Suns Java Card technologyNov 5,Sun works with Linux Community on Java 2 software port to LinuxDec 8,Java
12、 2 platform ships,13,Java的发展,五年回顾(19962000)1999年Jan 13,Major consumer electronics manufacturers support Java technology for digital televisionFeb 24,Java 2 platform source code releasedMar 4,XML support for Java platform unveiledMar 27,Java HotSpot performance engine unveiledJune 2,JavaServer Pages
13、technology unveiledJune 15,JavaOne developer conference draws 20,000June 15,Sun announces three editions of Java platform:J2SE,J2EE,J2MEJune 29,J2EE Reference Implementation Alpha shipsAug 25,J2SE version 1.3 beta software releasedAug,The JavaPhone API specification included in an approved GSM stand
14、ard by the European Telecommunications Standards Institute,14,Java的发展,五年回顾(19962000)1999年Sep 30,J2EE beta software releasedDec 8,J2EE platform shipsDec 8,J2SE platform on Linux ships2000年Apr 19,J2EE platform licensed to Art Technology Group,BEA Systems,Compaq,Hitachi,SilverStream,Sybase,.May,Members
15、hip in Java Developer Connection program tops 1.5 millionMay 8,Sun to work with Chinese TV industry to define interactive digital TV spec for China TVMay 8,J2SE v.1.3 platform releasedMay 17,J2SE v 1.3 platform gains industry support from Apple with Mac OS X,15,第一章 Java语言概述,Java的发展什么是Java?Java程序介绍Ja
16、va程序运行环境,16,什么是Java?,Java Technology编程语言(Programming Language)运行平台(Platform),17,什么是Java?,Java编程语言的特点简单(Simple)面向对象(Object oriented)解释性(Interpreted)平台独立和可移植(Architecture neutral&Portable)鲁棒和安全(Robust&Secure)多线程(Multithreaded)分布式(Distributed)高性能(High performance)动态(Dynamic),18,Java编程语言的特点简单(Simple)简单易
17、学不存在指针、单一继承、内存空间自动回收面向对象(Object oriented)类和对象数据和方法的封装封装、继承、多态性注重于数据和操作数据的方法,而不是流解释性(Interpreted)Java编译器生成字节码,Java解释器执行字节码链接过程简单,仅仅将新的类装载(load)入运行环境,什么是Java?,19,Java编程语言的特点平台独立(Architecture neutral)和可移植(Portable)Java编译器产生的字节码(bytecode)可运行在异种网络环境中(不同的硬件系统和不同的操作系统)Java程序在不同的平台中行为一致,不存在数据类型的不一致等现象,什么是Ja
18、va?,20,Java编程语言的特点鲁棒/健壮(Robust)和安全(Secure)取消了指针的不安全性,增强了程序的健壮性内存管理简单,“new”构造对象,对象释放(automatic garbage collection)可靠的语言:compile-time checking和run-time checking网络环境的应用不会产生恶意行为,为Java程序构造一个个(Sandbox,具有安全策略的限制),提高了安全性,什么是Java?,21,Java编程语言的特点多线程(Multithreaded)native例:浏览器应用中,播听音乐/拖动页面/后台下载页面线程类:等原语支持:synch
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 语言概述 语言概述 PPT课件 语言 概述 PPT 课件
链接地址:https://www.31ppt.com/p-5606744.html