网络工程专业毕业英文翻译.docx
《网络工程专业毕业英文翻译.docx》由会员分享,可在线阅读,更多相关《网络工程专业毕业英文翻译.docx(11页珍藏版)》请在冰豆网上搜索。
网络工程专业毕业英文翻译
XX大学
毕业设计(论文)说明书
英文翻译
专业
网络工程
班级
网
姓名
XX
学号
指导教师
XX
二OXX年六月十六日
外文原文
IntroductiontoJava
autor:
MartinNgobye.
source:
ComputingStaticSliceforJavaPrograms
Javaoriginatedaspartofaresearchprojecttodevelopadvancedsoftwareforawidevarietyofnetworkdevicesandembeddedsystems.Thegoalwastodevelopasmall,reliable,portable,distributed,real-timeoperatingplatform.Whentheprojectstarted,C++wasthelanguageofchoice.ButovertimethedifficultiesencounteredwithC++grewtothepointwheretheproblemscouldbestbeaddressedbycreatinganentirelynewlanguageplatform.DesignandarchitecturedecisionsdrewfromavarietyoflanguagessuchasEiffel,SmallTalk,ObjectiveC,andCedar/Mesa.Theresultisalanguageplatformthathasprovenidealfordevelopingsecure,distributed,networkbasedend-userapplicationsinenvironmentsrangingfromnetwork-embeddeddevicestotheWorld-WideWebandthedesktop.
ThedesignrequirementsofJavaaredrivenbythenatureofthecomputingenvironmentsinwhichsoftwaremustbedeployed.
ThemassivegrowthoftheInternetandtheWorld-WideWebleadsustoacompletelynewwayoflookingatdevelopmentanddistributionofsoftware.Toliveintheworldofelectroniccommerceanddistribution,Javamustenablethedevelopmentofsecure,highperformance,andhighlyrobustapplicationsonmultipleplatformsinheterogeneous,distributednetworks.
Operatingonmultipleplatformsinheterogeneousnetworksinvalidatesthetraditionalschemesofbinarydistribution,release,upgrade,patch,andsoon.Tosurviveinthisjungle,Javamustbearchitectureneutral,portable,anddynamicallyadaptable.
TheJavasystemthatemergedtomeettheseneedsissimple,soitcanbeeasilyprogrammedbymostdevelopers;familiar,sothatcurrentdeveloperscaneasilylearnJava;objectoriented,totakeadvantageofmodernsoftwaredevelopmentmethodologiesandtofitintodistributedclient-serverapplications;multithreaded,forhighperformanceinapplicationsthatneedtoperformmultipleconcurrentactivities,suchasmultimedia;andinterpreted,formaximumportabilityanddynamiccapabilities.
Together,theaboverequirementscomprisequiteacollectionofbuzzwords,solet’sexaminesomeofthemandtheirrespectivebenefitsbeforegoingon.
What’scompletelynewisthemannerinwhichJavaanditsrun-timesystemhavecombinedthemtoproduceaflexibleandpowerfulprogrammingsystem..
DevelopingyourapplicationsusingJavaresultsinsoftwarethatisportableacrossmultiplemachinearchitectures,operatingsystems,andgraphicaluserinterfaces,secure,andhighperformance,WithJava,yourjobasasoftwaredeveloperismucheasier—youfocusyourfullattentionontheendgoalofshippinginnovativeproductsontime,basedonthesolidfoundationofJava.Thebetterwaytodevelopsoftwareishere,now,broughttoyoubytheJavalanguageplatform.
VerydynamiclanguageslikeLisp,TCL,andSmallTalkareoftenusedforprototyping.Oneofthereasonsfortheirsuccessatthisisthattheyareveryrobust—youdon’thavetoworryaboutfreeingorcorruptingmemory.
Similarly,programmerscanberelativelyfearlessaboutdealingwithmemorywhenprogramminginJava,Thegarbagecollectionsystemmakestheprogrammer’sjobvastlyeasier;withtheburdenofmemorymanagementtakenofftheprogrammer’sshoulders,storageallocationerrorsgoaway.AnotherreasoncommonlygiventhatlanguageslikeLisp,TCL,andSmallTalkaregoodforprototypingisthattheydon’trequireyoutopindowndecisionsearlyon—theselanguagesaresemanticallyrich.
Javahasexactlytheoppositeproperty:
itforcesyoutomakeexplicitchoices.Alongwiththesechoicescomealotofassistance—youcanwritemethodinvocationsand,ifyougetsomethingwrong,yougettoldaboutitatcompiletime.Youdon’thavetoworryaboutmethodinvocationerror.
TheJavabeginnermustgrasp30basicconcepts
Basicconcept
1.InOOPtheonlyrelationsiswhattheobject’sinterface,suchasthecomputersellerheleavesaloneinternalstructureofelectricalsource,butheisonlyconcernedaboutthatwhetherthepowerwillbesuppliedtoyou,alsosolongasknowcanornotbutisnothowandwhy.Allproceduresaremakeupofcertainattributeandthebehaviorobject,thedifferentobjectvisitinvokesthroughthefunctioninvocation,betweentheobjectallintercommunionareinvokethroughthemethodinvocation,Byobjectdataencapsulation,enhancesreuserateverymuch..
2.InOOPthemostimportantthoughtisclass,theclassisthetemplate,isablueprint,constructanobjectfromaclass,namelyconstructaninstanceoftheclass.
3.Encapsulation:
isthatcombinesthedataandthebehaviorinapackage)andhidesthedatatherealizationprocesstotheobjectuser,inanobjectdataiscalleditsinstancefield.
4.Throughexpandsaclasstoobtainanewclassiscalledinheritance,butallclassesareconstructedbytheobjectsuperrootclassofexpansion,superrootclassofasfollowscanmaketheintroduction.
5.Object3principalcharacteristics
Behavior---explainedthisobjectcanmakewhat.
Tate---whentheobjectexertsthemethodobjectreflection.
Dentity---andothersimilarbehaviorobjectsdiscriminationsymbols.
Eachobjecthasonlyindentityandamongthreecharacteristicstheyaffectmutually.
6.Relationsamongclasses:
Use-a:
Dependentrelation
Has-a:
Polymerizationrelation
Is-a:
inheritorrelation--example:
AclasshasinheritedBclass,thistimeAclassnotonlyhasBclassofmethod,butalsohasitsownmethod(Individualityexistsingeneralcharacter)
7.Structureobjectusestructure:
Structureproposing,thestructureisonespecialmethod,thestructureobjectandtoitsinitialization.
Example:
ADataclassofstructurecallsData
NewData()---structureanewobject,alsoinitializecurrenttime.
Datahappyday=newData()---anobjectevaluatesanvariablehappyday,thusenablesthisobjecttobeusedmanytimes,herebestatedthecausevariableandtheobjectvariablearedifferent.
Newreturnsthevalueisaquotation.
Constructorcharacteristic:
Theconstructormayhave0,oneormanyparameters
Theconstructorandtheclasshavethesamename
Aclassmayhavemanyconstructor.Theconstructorhasnotreturnedvalue
Theconstructoralwaysbetogetherusedwiththenewoperator
8.Overloading:
Whenmanymethodshavethesamenamewhenincludesthedifferentparameter,thenhastheoverloadingWhichmethoddoesthecompilerhavetochooseinvokes.
9.Package:
Javaallowoneormanyclassestobecometogetherasgroup,iscalledpackage,toorganizingdutyeasily,thestandardJavastorehousedividesintomanypackagesJava.Langjava.Utiljava,netandsoon,thepackageislayeredandalljavapackagesareinjavaandinajavaxpackage.
10.Extendablethought:
permittoconstructnewclassonexistingclasses,whenyouextendtheclasswhichalreadyexisted,thenyoureusethisclassofmethodandthefield,atthesametimeyoumightaddthenewmethodandthefieldinthenewclass.
11.Expandableclass:
Theexpandableclassfullymanifestedis-atoextendtherelationsTheformis:
Class(subclass)extends(baseclass).
12.Multi-modality:
Injava,theobjectvariableismulti-modalityButinjavadoesnotsupportmultipleextend.
13.Dynamiccombine:
themechanismofinvokingobjectmethodmechanism.
1)compilerexaminesobjectstatementtypeandmethodname.
2)thecompilerexaminesthatmethodinvokesparametertype.
3)staticcombine:
Ifthemethodtypeispriavtestaticthefinal,compilercanaccuratelyknowwhichmethodshouldinvoke.
4)whentheprocedurerunsandusesdynamiccombinetoinvokeamethod,themethodeditionwhichthenhypothesizedmachinemustinvokextheobjectactualtypewhichaimsattomatch.
5)dynamiccombine:
isaveryimportantcharacteristic,itcancausetheproceduretochangeagainmayexpandbutdoesnotneedtotranslatehassavedthecode.
14.Finalclass:
Inordertopreventotherpeoplederivethenewclassfromyoursclass,thisclassiscannotexpanded.
15.Thedynamicinvocationspendlongertimethanthestaticinvocationexpenditure.
16.Abstractclass:
Stipulatedormanyabstractmethodsclassofitselfmustdefineisabstract.Example:
PublicabstractstringgetDescripition
17.InJavaeachclassisbeextendedbyobjectclass.
18.equalandtoStringmethodinobjectclass.Equalusesintestinganobjectiswhetherequalwithanotherobject.ToStringreturnstorepresentthisobjectthestringofcharacter,eachclasscannearlyoverloadingthismethod,inordertoreturnstothecurrentconditionthecorrectexpression.(ThetoStringmethodisaveryimportantmethod)
19.Generalprogramming:
Anyclassoftypeallvaluesallmayreplacewithaobjectclassofvariable.
20.Thearraytabulates:
TheArrayListdynamicarraytabulates,isaclassofstorehouse,definesinjava.Inuitlpackage,butautomaticcontrolarraysize.
21.inclassandclassofobject,getclassmethodreturnstotheclasstypeanexample,whentheprocedurestartcontainscanincreaseinthemainmethodclass,hypothesizedconfidentialincreaseallclasseswhichheneeds,eachincreaseclassallmustincreasetheclasswhichitneeds.
22.Theclass:
classmightdynamicoperatethejavacodeforthecompilationtheproceduretoprovidetheformidablefunctionreflection,thisfunctionwasJavaBeansisspeciallyuseful,theusereflectedJavatobeabletosupporttheVBprogrammertobefamiliarwiththeusethetool.
procedureofanalysisclassabilityiscalledthereflector,inJavatoprovidethisfunctionthepackagetocallJava.Lang.Thereflectreflectionmechanismisextremelyformidable.
1)whenrunanalysi