未知题型

A.out.print("before");doRiskyThing();System.out.print("after");}catch(Exceptionfe){System.out.print("catch");}System.out.println("done");}publicstaticvoiddoRiskyThing()throwsException{//thiscodereturnsunlessitthrowsanException}}可能会产生哪两项结果?()
A.beforecatch
B.beforeafterdone
C.beforecatchdone
D.beforeaftercatch
【参考答案】

B, C

相关考题

未知题型 Aclassdesignrequiresthatamembervariablecannotbeaccessibledirectlyoutsidetheclass.Whichmodifiershouldbeusedtoobtaintheaccesscontrol?()

未知题型 ApublicmembervairablecalledMAX_LENGTHwhichisinttype,thevalueofthevariableremainsconstantvalue100.Useashortstatementtodefinethevariable.()

多项选择题 一般不要在Cookie中保存保密信息,这些信息包括()。

未知题型 WhichtwoarecharacteristicsoftheFrontControllerpattern?()

未知题型 GivenanHttpServletRequestrequest:22.Stringid=request.getParameter("jsessionid");23.//insertcodehere24.Stringname=(String)session.getAttribute("name");Whichthreecanbeplacedatline23toretrieveanexistingHttpSessionobject?()A.HttpSessionsession=request.getSession();B.HttpSessionsession=request.getSession(id);C.HttpSessionsession=request.getSession(true);D.HttpSessionsession=request.getSession(false);E.HttpSessionsession=request.getSession("jsessionid");

未知题型 Whichthreearevalidvaluesforthebody-contentattributeofatagdirectiveinatagfile?()

未知题型 WhichtwoactionsprotectaresourcefilefromdirectHTTPaccesswithinawebapplication?()

未知题型 UnderwhattwocircumstancesisthesetJspBodymethodNOTcalledinatagclassthatimplementstheSimpleTaginterface?()

未知题型 Whichthe two choicesareequivalent?()

未知题型 Given:6.<myTag:foobar=’42’>7.<%="processing"%>8.</myTag:foo>andacustomtaghandlerforfoowhichextendsTagSupport.Whichtwoaretrueaboutthetaghandlerreferencedbyfoo?()

未知题型 WhataretheadvantagesofvariableextentsizesupportforlargeASMfiles?()

未知题型 InwhichsituationsdoestheOracleDataPumpuseexternaltablesandnotthedirectpathloadwhileexportingatable()

未知题型 YouaremaintainingadatabasethatisinARCHIVELOGmode.Youhaveconfiguredtheflashrecoveryareainyourdatabase.ThedatabaseisinMOUNTEXCLUSIVEmode,andyouwanttoconfiguretheFlashbackDatabasefeature.WhichtwooptionsareNOTrequiredtoconfiguretheFlashbackDatabasefeature?()A.Openthedatabaseinread-onlymode.B.SettheretentiontargetwiththeDB_FLASHBACK_RETENTION_TARGETinitializationparameter.C.Enabletheblockchangetrackingfeature.D.ExecutetheALTERDATABASEFLASHBACKONstatement.

未知题型 Whichtwointerfacesprovidethecapabilitytostoreobjectsusingakey-valuepair?()

未知题型 Examinethecommandthatisusedtocreateatable:SQL>CREATETABLEorders(oidNUMBER(6)PRIMARYKEY,odateDATE,ccodeNUMBER(6),oamtNUMBER(10,2))TABLESPACEusers;Whichtwostatementsaretrueabouttheeffectoftheabovecommand()A.ACHECKconstraintiscreatedontheOIDcolumn.B.ANOTNULLconstraintiscreatedontheOIDcolumn.C.TheORDERStableistheonlyobjectcreatedintheUSERStablespace.D.TheORDERStableandauniqueindexarecreatedintheUSERStablespace.E.TheORDERStableiscreatedintheUSERStablespaceandauniqueindexiscreatedontheOIDcolumnintheSYSTEMtablespace.

未知题型 TheNLS_TERRITORYparameterspecifiesthedefaultconventionstobeusedforwhichofthefollowingglobalizationelements?()

未知题型 YouareworkingonanOracleDatabase10gdatabase.Becauseofdataloss,youdecidedtoperformaFlashbackDatabaseoperationusingthefollowingcommand:SQL>FLASHBACKDATABASETOTIMESTAMP(SYSDATE5/24)Whichtwostatementsaretrue?()A.SYSDATEshouldnotbeusedwithTIMESTAMP.B.Thedatabasemusthavemultiplexedredologfiles.C.ThedatabasemustbeintheMOUNTstatetoexecutethecommand.D.ThedatabasemustbeopenedwiththeRESETLOGSoptionaftertheflashbackoperation.E.Theentiredatabaseneedstoberestoredfromthemostrecentbackupbeforetheflashbackoperation.

未知题型 Younoticedthattheindextablespaceinyourdatabaserequiresarecovery.However,insteadofperformingamediarecovery,youdecidedtorecreatetheindexesinanewtablespace.Whichtwooptionswouldyouusetoreducethetimeittakestorecreatetheindexes?()A.ONLINEB.REVERSEC.PARALLELD.COMPRESSE.NOLOGGINGF.COMPUTESTATISTICS

未知题型 Whichmodifiersandreturntypeswouldbevalidinthedeclarationofaworkingmain()methodforaJavastandaloneapplication?()

未知题型 Whatisthenumericalrangeofachar?()