基于java的模擬寫字板的設(shè)計(jì)和實(shí)現(xiàn)英文文獻(xiàn)原文及譯文_第1頁
基于java的模擬寫字板的設(shè)計(jì)和實(shí)現(xiàn)英文文獻(xiàn)原文及譯文_第2頁
基于java的模擬寫字板的設(shè)計(jì)和實(shí)現(xiàn)英文文獻(xiàn)原文及譯文_第3頁
基于java的模擬寫字板的設(shè)計(jì)和實(shí)現(xiàn)英文文獻(xiàn)原文及譯文_第4頁
基于java的模擬寫字板的設(shè)計(jì)和實(shí)現(xiàn)英文文獻(xiàn)原文及譯文_第5頁
已閱讀5頁,還剩5頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、職場大變樣社區(qū)(www zcdby. com):下載畢業(yè)設(shè)計(jì)成品全套資料,全部50元以下英文文獻(xiàn)原文及譯文英文文獻(xiàn)原文features and advantages of javajava programming language is a good language. its biggest advantage is platform-independent, on windows 9x, windows nt, solaris, linux, macos, and other platforms, you can use the same code. "write once, r

2、un anywhere11 feature, it is widely used on the internet. since the java language designers are very familiar c + + language, so well in the design draws on the c + + language. it can be said, java language is a language than c + + hobject oriented also11 a programming language. java language struct

3、ure and syntax of c + + syntax is very similar to the structure of the language, which allows c + + programmers to learn java language easier of course, if only a face-lift for c + +, java today, then there would be hot. java language provides some useful new features, makes use of the java language

4、 than c + + language is easier to write hno error code.”these new features include:1) provides automatic memory management, programmers do not need to be allocated in the program, free memory, those terrible memory allocation error will not bother you;2) in addition to the c + + language confusing,

5、error-prone, "pointer", with other methods to compensate;3) avoid the assignment statement (eg a = 3) and logical statement (such as a = 3) confusion;4) cancellation of this complex multiple inheritance facility.there are many valid java language features to attract programmers, the most i

6、mportant are the following:1 simple and effectivejava language is a fairly simple hobject-orientedn programming language. java language omitted language c + + is difficult to understand all the confusing features, such as header files, pointers, structures, units, operator overloading, virtual base

7、class and so on. it is more rigorous and concise.some readers are familiar with visual basic language java language will feel more complex in terms of the relative vb, java programming indeed use a more laborious than using vb number. but we must know that vb is an integrated development tool, which

8、 by virtue of visualization tools to develop gui program to become an artifact, but it can not be regarded as a language. it is based on the basic language, which is one of the most simple language, but its function is not as good as c, c + +, java so complete.java language using a special software

9、construction method that can run independently on a small machine. as long as 40k can accommodate a basic interpreter; even with basic standard libraries and thread support, coupled with just enough of 175k. it is also a recipe for success of the java language.(2) high portabilityfor a programmer, w

10、rite out the program if it is possible to simultaneously run without modification on windows, macos, unix and other platforms, is simply a dream come true of a good thing! the original java language let this thing out of reach closer and closer. programs written in the java language, as long as the

11、modifications do less, and sometimes there is no need to modify it to run on a different platform.for example, on different platforms, the size of the data types have different requirements. on some platforms, integer (int) is a 16-bit binary number, and on some platforms is to use a 32-bit binary n

12、umber representation. c/c + + language does not block out the differences caused by different platforms. thus, if a 16-bit binary representation of the integer platform c language source code, to be in a 32-bit binary number that is running on a platform integer is simply bad news.in the java langua

13、ge, it is masked out this difference caused by the platform. the java integer is necessarily represented by a 32-bit binary, java virtual machine will digest this difference. when we want to use a 16-bit binary representation of the integer source platform for the development of the java language, t

14、ransplanted to a 32-bit binary number that is running on a platform integer, do not modify it.the java language has such high portability is a necessity, because its design philosophy is nwrite once, run anywhere11 thing.3. "object-oriented"so to speak, nobject-orientedn is a revolution in

15、 software engineering, software greatly enhance human development capabilities, is a great step forward, is a significant milestone in software development manage匸in the past 30 years, nobject-orientedn has made great progress, and fully reflects its value, and now has formed the hobject-oriented sy

16、stems analysis'1, ''object-oriented system design”, "object-oriented programming11 a system. so as a modern programming language, is not able to deviate from this direction, java language is no exception.java language than c + + is also known as "object-oriented” programming la

17、nguage, do not understand the hobject-orientedh thinking it is difficult to good use java language, are not familiar with this aspect of the reader, you can take a second to read this book chapte r.4. interpretedwe still remember the basic language? when we use the basic programming language, you mu

18、st first enter the basic language environment, and then enter the source code, and then run it, a sentence to explain basic language environment, running directly the result. this language is an interpreted language.and like c/c + + language such is not the case, we first use the editing software, o

19、r integrated development environment (ide) to write the source code, then compile it, generate an executable file. then we get the results through the operating system to execute the executable file. this language is a compiled language.low interpreted language efficiency, slow; compiled language hi

20、gh efficiency and speed.java is an interpreted language. right, not wrong, it is an interpreted language, which means, with respect to the c / c + + language is, java programs written in the language of low efficiency, slow execution speed. but it is running on different platforms through the java i

21、nterpreter, explained to the java code to achieve the hwrite once, run anywhere11 ambitious goals. to achieve the goal, it is worth the expense of efficiency, say, now computer technology advances, more and faster computing speed, the user will not feel too slow. in fact, java language is not as com

22、plete as the basic interpretive language, it is an interpreted and compiled compromise. using the java programming language, the first written source with editing software or integrated development environment (ide), and then use the java compiler to a pseudo-compiled code to be compiled into an int

23、ermediate (also called bytecode). then use the java interpreter explained.5 suitable for distributed computingjava language has a powerful, easy-to-use networking capability, ideal for program development of distributed computing. java applications can access the local file system like that through

24、the url to access the remote object.socket communication using the java language program is very simple, it is simpler to use than any other language. and it is very suitable for the development of the common gateway interface (cgi) script development, also can use the java applet (applet), java ser

25、ver pages (java server page, referred jsp), servlet, etc. means to build a richer page.6 has better performanceas mentioned earlier, since java is an interpreted language, so its efficiency will be relatively slow, but the java language using two methods, so that its performance is good.1) after the

26、 java source language is written, using the first pseudo-java compiler to compile the pseudo, converts the intermediate code (also called byte code), to explain;2) provide a "quasi real-time" (just-in-time, jit) compiler, a faster rate when needed, you can use the jit compiler byte code in

27、to machine code, and then the buffer down such speed will be faster7 with high security.since the java language in the design, in terms of security considerations very carefully, did a lot of exploring, making it the most secure java language as a programming language.although the sun had promised:

28、"by java can easily build a anti-virus, anti-hacker system/1 but hthere is no absolute security in the world/1 the truth is not lost because someone promises and efficacious.8 is a dynamic languagejava is a dynamic language, this means that in the following two aspects:1) in the java language,

29、a simple, intuitive query runtime information;2) the new code can be added to a running program to go.9. neutral object language"java compiler generates is a neutral object file format." in other words, java compiler to compile the pseudo, will generate a body with any computer system inde

30、pendent of the hneutraln bytecode.this is actually not a neutral configuration of the first java, ucsd pascal system had to do this, there is another prior ucsd pascal precedent in this manner in a commercial product before java, that is the achieved niklaus wirth pascal language on the use of this

31、reduction in some of the performance, in exchange for better portability and versatility of the method.this java bytecode through many carefully designed so that it can be well compatible with today's most popular computer-body system, can be easily explained on any machine, easy to dynamically

32、translated into machine code.英文文獻(xiàn)譯文java的特點(diǎn)與優(yōu)勢java語言是一種優(yōu)秀的編程語言。它最大的優(yōu)點(diǎn)就是與平臺無關(guān),在windows 9x、windows nt> solaris. linux. macos以及其它平臺上,都可以使用相同的代 碼?!耙淮尉帉?,到處運(yùn)行"的特點(diǎn),使其在互聯(lián)網(wǎng)上廣泛采用。由于java語言的設(shè) 計(jì)者們十分熟悉c+語言,所以在設(shè)計(jì)吋很好地借鑒了 c+語言。可以說,java 語言是一種比c+語言“還面向?qū)ο髥环N編程語言ojava語言的語法結(jié)構(gòu)與c+ 語言的語法結(jié)構(gòu)十分相似,這使得c+程序員學(xué)習(xí)java語言更加容易。當(dāng)然

33、,如 果僅僅是對c+改頭換而,那么就不會有今天的java熱了。java語言提供的一些 有用的新特性,使得使用java語言比c+語言更容易寫出“無錯代碼s 這些新特性包括:1)提供了對內(nèi)存的自動管理,程序員無需在程序中進(jìn)行分配、釋放內(nèi)存,那些可 怕的內(nèi)存分配錯誤不會再打擾你了;2)去除了 c+語言中的令人費(fèi)解、容易出錯的“指針",用其它方法來進(jìn)行彌補(bǔ);3)避免了賦值語句(如a = 3)與邏輯運(yùn)算語句(如a = = 3)的混淆;4)取消了多重繼承這一復(fù)雜的設(shè)施。jaw語言有許許多多有效的特性,吸引著程序員們,最主要的有以下幾個(gè):1 簡潔有效java語言是一種相當(dāng)簡潔的“而向?qū)﹀琛背绦蛟O(shè)計(jì)

34、語言。java語言省略了 c+語言中 所有的難以理解、容易混淆的特性,例如頭文件、指針、結(jié)構(gòu)、單元、運(yùn)算符重載、 虛擬基礎(chǔ)類等。它更加嚴(yán)謹(jǐn)、簡潔。有些熟悉visual basic語言的讀者會覺得java語言相對vb而言更復(fù)雜,的確使用 java編程是比使用vb更費(fèi)力一些。但大家一定要知道vb是一種集成化開發(fā)工具, 其憑借可視化工具成為開發(fā)gui程序的神器,但其并不能算是一種語言。它的基 礎(chǔ)是basic語言,這是一種最簡單的語言,但其功能不如c、c+、java這樣完整。 java語言采用了特殊的軟件構(gòu)造方法,可以在很小的機(jī)器上獨(dú)立運(yùn)行。只要40k 就可以容下一個(gè)最基木的解釋器,即使加上基木標(biāo)準(zhǔn)庫

35、和線程支持,也僅需再加上 175k就夠的。這也是java語言的一個(gè)成功秘訣。2 高可移植性對于一個(gè)程序員而言,寫出來的程序如果不需修改就能夠同時(shí)在windows、macos、 unix等平臺上運(yùn)行,簡直就是美夢成真的好事!而java語言就讓這個(gè)原木遙不可 及的事離我們越來越近。使用java語言編寫的程序,只要做較少的修改,甚至有 時(shí)根本不需修改就可以在不同平臺上運(yùn)行了。舉個(gè)例子,不同平臺上對數(shù)據(jù)類型的大小有不同的規(guī)定。在有的平臺上,整型(int) 是用一個(gè)16位二進(jìn)制數(shù)表示,而有的平臺上則是使用一個(gè)32位二進(jìn)制數(shù)表示的。c/c+語言并沒有屏蔽掉這個(gè)由不同平臺造成的不同。這樣如果在一個(gè)使用16位

36、 二進(jìn)制數(shù)表示整型的平臺上開發(fā)的c語言源程序,要在一個(gè)使用32位二進(jìn)制數(shù)表 示整型的平臺上運(yùn)行,簡直就是噩耗。而在java語言屮,就屏蔽掉了這種由平臺造成的不同。java屮的整型數(shù)是一定是 由32位二進(jìn)制表示的,java虛擬機(jī)將這個(gè)差別消化了。當(dāng)我們想將一個(gè)使用16位 二進(jìn)制數(shù)表示整型的平臺上開發(fā)的java語言源程序,移植到一個(gè)使用32位二進(jìn)制 數(shù)表示整型的平臺上運(yùn)行,就不用修改了。java語言具備這種高移植性是一種必然,因?yàn)樗脑O(shè)計(jì)理念就是“一次編寫,到處 運(yùn)行”嘛。3 “面向?qū)ο?可以這么說,“面向?qū)ο蟆笔擒浖こ虒W(xué)的一次革命,大大提升了人類的軟件開發(fā)能 力,是一個(gè)偉大的進(jìn)步,是軟件發(fā)展的

37、一個(gè)重大的理程碑。在過去的30年間,“而向?qū)﹀琛坝辛碎L足的發(fā)展,充分體現(xiàn)了其價(jià)值,到現(xiàn)在己經(jīng) 形成了“面向?qū)ο蟮南到y(tǒng)分析化“面向?qū)ο蟮南到y(tǒng)設(shè)計(jì)”、“面向?qū)ο蟮某绦蛟O(shè)計(jì) 個(gè)體系。所以做為一個(gè)現(xiàn)代編程語言,是不能夠偏離這一方向的,java語言也不例 外。注意:java語言被喻為比c+還“而向?qū)﹀柽瞪壮绦蛟O(shè)計(jì)語言,不理解“而向?qū)﹀琛钡乃枷刖?難以很好地運(yùn)用java語言,不熟悉這方面內(nèi)容的讀者,可以好好閱讀本書的第二 章。4 解釋型 大家述記得basic語言嗎?當(dāng)我們使用basic語言進(jìn)行編程時(shí),得先進(jìn)入basic語言 環(huán)境,然后輸入源程序,再運(yùn)行它,basic語言環(huán)境一句句地解釋、運(yùn)行,直接得 出結(jié)果。這種語言就是解釋型語言。而象c/c+這樣的語言就不是這樣的了,我們先使用編輯軟件或集成開發(fā)環(huán)境 (ide)編寫源程序,然后對其進(jìn)行編譯,生成可執(zhí)行文件。然后我們再通過操作 系統(tǒng)執(zhí)行這個(gè)可執(zhí)行文件得到結(jié)果。這種語言就是編譯型語言。解釋型語言效率低,速度慢;編譯型語言效率高,速度快。java語言是一種解釋型語言。對,沒看錯,它是一種解釋型語言,也就是說,相對 于c/c+語言來說,java語言寫出來

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論