- 1、本文档共7页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Java Architecture Perspective
1MASSACHVSETTS INSTITVTE OF TECHNOLOGYDepartment of Electrical Engineering and Computer Science6.001|Structure and Interpretation of Computer ProgramsFall Semester, 1998Lecture Notes, December 3 { JavaJava: From a Marketing PerspectiveJava is a \fundamentally new way of computing. \It works everywhere.Java: From a Legal PerspectiveFrom court order in preliminary injunction, Sun v. Microsoft, Nov. 18, 1999:\Suns Java Technology is a collection of programming components that create a standard, platform-independent programming and runtime environment. Suns Java Technology has two basic ele-ments: the Java programming environment and the Java runtime environment.\The Java programming environment allows software developers to create a single version of pro-gram code that is capable of running on any platform which possesses a compatible implementationof the Java runtime environment. The Java programming environment comprises (1) Suns speci-cation for the Java language, (2) Suns specication for the Java class libraries and (3) the Javacompiler.\The Java runtime environment comprises the Java class libraries and the Java runtime interpreter.A system platform or browser program that implements the Java runtime environment can executeapplication programs developed using the Java programming environment. Java: Architecture Perspective
6.001, Fall Semester, 1998|Lecture Notes, December 3 { Java 2Jave code:void spin() {int i;for (i = 0; i 100; i++) {; // Loop body is empty}}Java VM instructions:Method void spin()0 iconst_0 //Push int constant 01 istore_1 //Store into local 1 (i=0)2 goto 8 //First time dont increment5 iinc 1 1 //Increment local 1 by 1 (i++)8 iload_1 //Push local 1 (i)9 bipush 100 //Push int constant (100)11 if_icmplt 5 //Compare, loop if (i100)14 return //Return void when doneJava Bytecodes:3 60 167 0 8 132 1 1 27 16 100 161 0 5 177Java: From a Language Design PerspectiveJava design goals, as summarized in The Java Language: A White Paper, Sun Microsystems:1
您可能关注的文档
- Hello I am Baymax――时下最治愈英语学习(●―●).pdf
- HelpStar Technology for Semi-Autonomous Wheelchairs.pdf
- Hemorheologic events in severe shock 1.pdf
- Henkel Potting material.pdf
- Henkel NVH poster.pdf
- Henry and Mudge tall tree house.pdf
- Hepatocyte growth factor effects on mesenchymal stem cells Proliferation.pdf
- Here we report our approach to the “Pittsburgh Brain Activity Interpretation Competition 2.pdf
- Hertfordshire Village of the Year Competition 2010.pdf
- hermanmiller图册.pdf
文档评论(0)