德州扒鸡御品1692:急~计算机英语文章翻译!望各位达人鼎力相助!(01)

来源:百度文库 编辑:高考问答 时间:2024/04/29 17:07:36
这篇文章因为涉及到计算机编程语言,有部分的术语可能对大家造成了麻烦,但我相信大家的能力应该可以为我分忧,在下感激不尽!(注:Java是一门编程语言,因篇幅过长,我分两篇贴出来吧,再次对大家的援手相助表示感谢!大家也权当考考自己的水平也好!呵呵!由于小弟上次贴了出来得不到满意的答案,悬赏分经已派出,只剩下5分了,希望大家莫要见怪!)
The java language
The java language is a remarkable example of programming language evolution.Java builds on the familiar and useful features of C++ while removing its complex,dangerous,and sperfluous elements.The result is a language that is safer,simpler and easier to use.The following sections describe Java in contrast to C++.
1.Java Is Familiar and Simple
If you have ever programmmed in C++,you will find Java's appeal to be instantaneous.Since Java's syntax mirrors that of C++,you will be able to write Java programs within minutes.Your first programs will come quickly and easily,with very little programming overhead.
You will have the feeling that you have eliminated a lot of clutter from your programs--and you will have.All the cryptic header files and preprocessor statements of C and C++ are gone.All the arcane #define statements and typesefs have been taken away.You will no longer have to delve thronugh several levels of header files to correctly reference API calls.And no one will have to suffer to figure out how to use your software.

Java programs simply import the software packages they need.These packages may be in another directory,on another side of the Internet.The Java compiler and interpreter figure out what objects are referenced and supply the necessary linkage.
2.Java Is Object-Oriented
If you think C++ is an object-oriented programming language,you are in for a big surprise .After using Java to write a few programs,you'll get a better feeling for what object-oriented software is all about.I know i did.
Java deals with classes and objects,pure and simple .They aren't just more data structures that atr available to the progammer--they are the basis for the enire programming language.

In C++,you can declare a class,but you don't have to.You can declare a structure or a union instead.You can declare a whole bunch of loosely associated variables and use them with C-style functions.InJava,classes and objects are at the center of the language.Everything else revolves around them.You can't declare functions and procedures.They don't exist.You can't use structures,unions,or typedefs.They're gone,too.You either use classes and objects or you don't use Java.It's that simple.

汇编语言在设计语言发展中是个经典的实例。汇编借助在熟悉而实用的C++之上,当然撇开它的复杂部分、危险性和其他因素。语言的最终结果是更安全、更简单及更便于使用。接下来的章节是描述JAVA和C区别。
汇编是一种熟悉而简单的语言

太长了,没有空翻译了!

555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555