第1题:
A.packagecom.;
B.importcom.x;
C.packagecom.x;
D.importcom.x.Alpha;
第2题:
A.Alpha a = x;
B.Foo f = (Delta)x;
C.Foo f = (Alpha)x;
D.Beta b = (Beta)(Alpha)x;
第3题:
14 Alpha buys goods from Beta. At 30 June 2005 Beta’s account in Alpha’s records showed $5,700 owing to Beta.
Beta submitted a statement to Alpha as at the same date showing a balance due of $5,200.
Which of the following could account fully for the difference?
A Alpha has sent a cheque to Beta for $500 which has not yet been received by Beta.
B The credit side of Beta’s account in Alpha’s records has been undercast by $500.
C An invoice for $250 from Beta has been treated in Alpha’s records as if it had been a credit note.
D Beta has issued a credit note for $500 to Alpha which Alpha has not yet received.
第4题:
现有如F包结构: com |一一X | |一一Alpha.class | | | |一一y I |一一Beta.class | |l-- Gamma.class 和类: class Test { Alpha a; Beta b; Gamma c; } 哪三个必须加入到类Test中,以使其通过编译?()
第5题:
设有一共用体变量定义如下: union data { long w; float x; int y; char z;}; union data beta; 执行下列语句后,正确的共用体变量beta的值是( )。 beta.w=123456; beta.y=888; beta.x=3.1416; beta.z='x';
A.123456
B.888
C.3.1416
D.'X'
第6题:
10.interfaceFoo{}11.classAlphaimplementsFoo{}12.classBetaextendsAlpha{}13.classDeltaextendsBeta{14.publicstaticvoidmain(String[]args){15.Betax=newBeta();16.//insertcodehere17.}18.}Whichcode,insertedatline16,willcauseajava.lang.ClassCastException?()
A.Alphaa=x;
B.Foof=(Delta)x;
C.Foof=(Alpha)x;
D.Betab=(Beta)(Alpha)x;
第7题:
如果类Alpha继承了类Beta,则类Alpha称为派生类,类Beta称为【 】类。
第8题:
Awebapplicationcontainsatagfilecalledbeta.tagin/WEB-INF/tags/alpha.AJSPpagecalledsort.jspexistsinthewebapplicationandcontainsonlythisJSPcode:1.<%@taglibprefix="x"2.tagdir="/WEB-INF/tags/alpha"%>3.<x:beta/>Thesort.jsppageisrequested.Whichtwoaretrue?()
A.Tagfilescanonlybeaccessedusingatagdirattribute.
B.Thesort.jsppagetranslatessuccessfullyandinvokesthetagdefinedbybeta.tag.
C.Thesort.jsppageproducesatranslationerrorbecauseataglibdirectivemustalwayshaveauriattribute.
D.Tagfilescanonlybeplacedin/WEB-INF/tags,andNOTinanysubdirectoriesof/WEB-INF/tags.
E.Thetagdirattributeinline2canbereplacedbyauriattributeifaTLDreferringtobeta.tagiscreatedandaddedtothewebapplication.
第9题:
在Windows 9x环境中,若要调试运行ASP网页,此时的Web服务应选用()
第10题:
已知符号定义语句如下: ALPHA EQU 100 BETA EQU 25 GAMMA EQU 2 分别求下列各表达式的值。 (1)ALPHA*4GTBETA (2)ALPHAMODGAMMA+BETA (3)(BETA/3)LE5 (4)ALPHAANDBETA (5)GAMMAXOR(BETAEQ25)