在J2EE 中,VetoableChangeSupport的fireVetoableChange方法会抛出的异常是()。A、PropertyExceptionB、PropertyVetoExceptionC、VetoExceptionD、PropertyChangeException

题目

在J2EE 中,VetoableChangeSupport的fireVetoableChange方法会抛出的异常是()。

  • A、PropertyException
  • B、PropertyVetoException
  • C、VetoException
  • D、PropertyChangeException

相似考题
更多“在J2EE 中,VetoableChangeSupport的fireVetoableChange方法会抛出的异常是()。A、PropertyExceptionB、PropertyVetoExceptionC、VetoExceptionD、PropertyChangeException”相关问题
  • 第1题:

    在J2EE中,VetoableChangeSupport管理一张包含某个对象的列表,该对象是()。

    A.PropertyChangeSupportListener

    B.ChangeListener

    C.PropertyChangeListener

    D.VetoableChangeListener


    参考答案:D

  • 第2题:

    在异常处理中,出现异常和抛出异常是一回事。()

    此题为判断题(对,错)。


    参考答案:错

  • 第3题:

    在J2EE中,VetoableChangeSupport管理一张包含某个对象的列表,该对象是()。 

    • A、PropertyChangeSupportListener
    • B、ChangeListener
    • C、PropertyChangeListener
    • D、VetoableChangeListener

    正确答案:D

  • 第4题:

    在j2ee中,在mysample.java中包含代码:system.out.println(InetAddress.getByName(“aaaa”)).getHostAddress()),但在网络上没有aaaa这台主机。那么该行代码会() 

    • A、编译运行后什么都不显示
    • B、编译运行后显示“aaaa”字符文本
    • C、编译不能通过
    • D、编译运行后会抛出java.net.UnlnownHostExceptioon异常

    正确答案:D

  • 第5题:

    在J2EE中,在自己定义的JavaBean中,有方法getComment(),返回字符串“hello!”,但是没有comment属性,当调用getComment()方法时会()。 

    • A、抛出异常
    • B、返回字符串“hello!”
    • C、什么也没有
    • D、编译不能通过

    正确答案:B

  • 第6题:

    非运行期异常是从Exception继承而来的,不用在可能抛出异常的方法声明上加throws子句。


    正确答案:错误

  • 第7题:

    供僧法会,通常是在农历()月举行。


    正确答案:

  • 第8题:

    不必被捕获或声明抛出的异常是()

    • A、NullPointerExcepiton
    • B、ArithmeticException
    • C、FileNotFoundException
    • D、RuntimeException

    正确答案:A,B,D

  • 第9题:

    填空题
    在异常处理中,无论异常是否抛出,()子句中的内容都会被执行。

    正确答案: finally
    解析: 暂无解析

  • 第10题:

    填空题
    供僧法会,通常是在农历()月举行。

    正确答案:
    解析: 暂无解析

  • 第11题:

    单选题
    在j2ee中,以下是firevetoablechange方法的正确的原型的是()
    A

    public void fireVetoableChange(Object  oldValue,Object newValue)

    B

     public void fireVetoableChange(String  propertyName,Object newValue)

    C

     public void fireVetoableChange(String  propertyName, Object  oldValue ,Object newValue)throws PropertyVetoException

    D

     public void fireVetoableChange(String  propertyName, Object  oldValue ,Object newValue)


    正确答案: B
    解析: 暂无解析

  • 第12题:

    单选题
    在J2EE中,VetoableChangeSupport管理一张包含某个对象的列表,该对象是()。
    A

    PropertyChangeSupportListener

    B

    ChangeListener

    C

    PropertyChangeListener

    D

    VetoableChangeListener


    正确答案: A
    解析: 暂无解析

  • 第13题:

    在J2EE中,在自己定义的JavaBean中,有方法getComment(),返回字符串“hello!”,但是没有comment属性,当调用getComment()方法时会()。

    A.抛出异常

    B.返回字符串“hello!”

    C.什么也没有

    D.编译不能通过


    参考答案:B

  • 第14题:

    在环境管理体系(IS014000)认证审核类型中的第二方审核,审核方通常是( )。


    正确答案:B

  • 第15题:

    在异常处理中,无论异常是否抛出,()子句中的内容都会被执行。


    正确答案:finally

  • 第16题:

    在J2EE中,使用ResultSet对象的next()方法移动光标时,如果超过界限,会抛出 异常,该异常通常是()。 

    • A、InterruptedException
    • B、AlreadyBoundException
    • C、SQLException
    • D、NetException

    正确答案:C

  • 第17题:

    在j2ee中,以下是firevetoablechange方法的正确的原型的是() 

    • A、public void fireVetoableChange(Object  oldValue,Object newValue)
    • B、 public void fireVetoableChange(String  propertyName,Object newValue)
    • C、 public void fireVetoableChange(String  propertyName, Object  oldValue ,Object newValue)throws PropertyVetoException
    • D、 public void fireVetoableChange(String  propertyName, Object  oldValue ,Object newValue)

    正确答案:C

  • 第18题:

    以下关于异常的说法正确的是:()

    • A、一旦出现异常,程序运行就终止了
    • B、如果一个方法申明将抛出某个异常,它就必须真的抛出那个异常
    • C、在catch子句中匹配异常是一种精确匹配
    • D、可能抛出系统异常的方法是不需要申明异常的

    正确答案:D

  • 第19题:

    编写Servlet的doPost方法时,需要抛出的异常是() 

    • A、ServletException,IOException
    • B、ServletException,RemoteException
    • C、HttpServlet Exception,IOException
    • D、HttpServletException,RemoteException

    正确答案:A

  • 第20题:

    单选题
    以下关于异常的说法正确的是:()
    A

    一旦出现异常,程序运行就终止了

    B

    如果一个方法申明将抛出某个异常,它就必须真的抛出那个异常

    C

    在catch子句中匹配异常是一种精确匹配

    D

    可能抛出系统异常的方法是不需要申明异常的


    正确答案: A
    解析: 暂无解析

  • 第21题:

    单选题
    在J2EE中,使用ResultSet对象的next()方法移动光标时,如果超过界限会抛出异常,该异常通常是()。
    A

    InterruptedException

    B

    AlreadyBoundException

    C

    SQLException

    D

    NetException


    正确答案: B
    解析: 暂无解析

  • 第22题:

    单选题
    在J2EE 中,VetoableChangeSupport的fireVetoableChange方法会抛出的异常是()。
    A

    PropertyException

    B

    PropertyVetoException

    C

    VetoException

    D

    PropertyChangeException


    正确答案: C
    解析: 暂无解析

  • 第23题:

    单选题
    在J2EE中,在自己定义的JavaBean中,有方法getComment(),返回字符串“hello!”,但是没有comment属性,当调用getComment()方法时会()。
    A

    抛出异常

    B

    返回字符串“hello!”

    C

    什么也没有

    D

    编译不能通过


    正确答案: B
    解析: 暂无解析