欢迎来到天天文库
浏览记录
ID:22583253
大小:287.18 KB
页数:29页
时间:2018-10-30
《jsp长途大巴车购票系统英文翻译》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、职场大变样社区(www.zcdby.com):下载毕业设计成品全套资料,全部50元以下年级:姓名:学号:专业:指导教师:年月日13.3INSTRUCTIONSTheobject-orientednotationdevelopedinthisbookisimperative:wespecifycomputationsthroughcommands,alsocalledinstructionso(Theword“statement”iscommonlyusedinthissensebutwewillsteadfastl
2、yavoiditsinceitismisleading:astatementisanexpressionoffacts,notacommand。)Exceptforsomespecificpropertiesofloops,intendedtomaketheirverificationeasier,instructionswilllookfamiliartoanyonewhohashadsomeexperiencewithamodernlanguageoftheAlgollinesuchasPascal,Adaor
3、Modula,orevenjustwithCoraderivative。Theyinclude:Procedurecall;Assignment;Creation;Conditional;Multi_branch;Loop;Check;Debug;Retry;Assignmentattempt。ProcedurecallAroutinecallinvolvesaroutine,possiblywithactualarguments。Inacallinstruction,theroutinemustbeaproced
4、ure;ifitisafunction,thecallisanexpression。Althoughforthemomentweareinterestedininstructions,thefollowingrulesapplytobothcasesoAcalliseitherqualifiedorunqualified。Anunqualifiedcalltoaroutineoftheenclosingclassusesthecurrentinstanceastarget;itappearsundertheform
5、r(withoutarguments),orr(x,y,".)(witharguments)Aqualifiedcallexplicitlynamesitstarget,denotedbyanexpression:ifaisanexpressionofacertaintype,Cisthebaseclassofthattype,andqisoneoftheroutinesofC,thenaqualifiedcallisoftheformaqqoAgain,qmaybefollowedbyalistofactuala
6、rguments;amaybeanunqualifiedfunctioncallwitharguments,asinp(m)qq(n)wherethetargetisp(m)oYoumayalsouseastargetamorecomplexexpression,providedyouencloseitinparentheses,asin(vector1+vector2)*countoMultidotqualifiedcalls,oftheforma*ql*q2...qnarealsopermitted,where
7、aaswellasanyoftheqimayincludealistofactualargumentsoExportcontrolsapplytoqualifiedcalls。RecallthatafeaturefdeclaredinaclassBisavailabletoaclassAifthefeatureclausedeclaringfbeginswithfeature(withoutfurtherqualification)orfeature{X,Y,"•}whereoneofX,Y,•"isAoranan
8、cestorofAoThen:QualifiedCallruleAqualifiedcalloftheform/,.q卜appearinginaclassCisvalidonlyifitsatisfiesthefollowingconditions:R1•Thefeatureappearingafterthefirstdot,q卜mustbeavailabl
此文档下载收益归作者所有