84.try{85.ResourceConnectioncon=resourceFactory.getConnection();86.Resultsr=con.query(”GETINFOFROMCUSTOMER”);87.info=r.getData();88.con.close();89.}catch(ResourceExceptionre){90.errorLog.write(re.getMessage());91.}92.returninfo;WhichistrueifaResourceExceptionisthrownonline86?()A.Line92willnotexecute.B.Theconnectionwillnotberetrievedinline85.C.Theresourceconnectionwillnotbeclosedonline88.D.Theenclosingmethodwillthrowanexceptiontoitscaller.

84.try{85.ResourceConnectioncon=resourceFactory.getConnection();86.Resultsr=con.query(”GETINFOFROMCUSTOMER”);87.info=r.getData();88.con.close();89.}catch(ResourceExceptionre){90.errorLog.write(re.getMessage());91.}92.returninfo;WhichistrueifaResourceExceptionisthrownonline86?()

A.Line92willnotexecute.

B.Theconnectionwillnotberetrievedinline85.

C.Theresourceconnectionwillnotbeclosedonline88.

D.Theenclosingmethodwillthrowanexceptiontoitscaller.


相关考题:

查看小区上行功率控制指令() A.get . powerB.get . SubframeC.get . transmissionModeD.get . pzero

[A] get[B] take[C] work[D] try

snmp有五种消息,包括get-request、set-request、get-next-request、get-response、trap,其中由manager发给agent的有()A.get-requestB.set-requestC.get-next-requestD.get-response

snmpv1实现的请求/响应原语包括()。A.get-request、set-request、get-next-request、get-response、trapB.get、getNext、set、trapC.get-request、set-request、get-next-request、get-responseD.get、set、trap

定义属性错误的是()。 A、public int A{ get {return "100"}}B、public int A( get;set;)C、public int A{ get;set;}D、public int A{ get;}

YouhaveanExchangeServer2010organization.Youneedtoidentifythefollowinginformationforauser’sailbox:ThesizeofitemsintheInboxfolderThenumberofitemsintheDeletedItemsfolderYoumustachievethisgoalbyusingtheminimumamountofadministrativeeffort.Whichcmdletshouldyourun?()A.Get-Mailbox FolderB.Get-Mailbox Folder StatisticsC.Get-Mailbox StatisticsD.Get-Store Usage Statistics

As a teacher, we should try to _______ it _______ to our students how helpful a correct learning method is.A.get, about B.get; awayC.get; acrossD.get; off

【分录题】(9-2)请阅读程序,写出程序运行结果。 public class Demo8 { public static void main(String args[]) { int b = get(); System.out.println(b); } public static int get() { try { return 1; } finally { return 2; } } }

2、Java中,下面捕获异常的语句不正确的是()。A.try{……} finally{……}B.try{……} catch(Exception ex){……}C.try{ try{……} } catch(Exception ex){……}D.try{ try{……} finally{……} } catch(Exception ex){……}