- 1、本文档共8页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于JSP校园二手交易系统的设计与实现外文翻译
1. Simple
We wanted to build a system that could be programmed easily without a lot of eso-teric training and which leveraged today’s standard practice. So even though we found that C++ was unsuitable, we designed Java as closely to C++ as possible in order to make the system more comprehensible. Java omits many rarely used, poorly understood, confusing features of C++ that, in our experience, bring more grief than benefit.
The syntax for Java is, indeed, a cleaned-up version of the syntax for C++. There is no need for header files, pointer arithmetic (or even a pointer syntax), structures, unions, operator overloading, virtual base classes, and so on. (See the C++ notes interspersed throughout the text for more on the differences between Java and C++.) The designers did not, however, attempt to fix all of the clumsy features of C++. For example, the syn-tax of the switch statement is unchanged in Java. If you know C++, you will find the tran- sition to the Java syntax easy. If you are used to a visual programming environment (such as Visual Basic), you will not find Java simple. There is much strange syntax (though it does not take long to get the hang of it). More important, you must do a lot more programming in Java. The beauty of Visual Basic is that its visual design environment almost automatically pro-vides a lot of the infrastructure for an application. The equivalent functionality must be programmed manually, usually with a fair bit of code, in Java. There are, however, third-party development environments that provide “drag-and-drop”-style program development.
2.Object Oriented
Simply stated, object-oriented design is a technique for programming that focuses on the data (= objects) and on the interfaces to that object. To make an analogy with carpentry, an “object-oriented” carpenter would be mostly concerned with the chair he was building, and secondarily with the tools used to make it; a “non-object-oriented” carpenter would think primarily of his tools.
您可能关注的文档
- 2014年秋七年级英语上册 Starter Module 4 My everyday life Unit 2 Whats the weather like课件 (新版)外研版.ppt
- 2015港珠澳大桥创意国际马拉松赛事活动策划方案.ppt
- 35kv线路工程电杆组立施工方案精要.doc
- AS 1391-2005 Metallic materials - Tensile testing at ambient temperature AS 1391-2007 - Metallic materials - Tensile testing at英文资料.doc
- 3×25m装配式钢筋混凝土简支T梁设计计算书2011毕业设计.doc
- Corporate Procurement Policy Document 4th Edition 英文.doc
- 2017秋苏教版八年级语文上册第2课《长征组歌两首》精品课件.ppt
- 752×13575m高速铁路预应力混凝土连续梁桥结构验算及施工监控方案设计.doc
- pep新版小学英语四上册unit4myhomeblet.ppt
- Michael R. Solomon《消费者行为学第6版 Consumer Behavior - Buying, Having, and Being (Sixth Edition)》.ppt
文档评论(0)