• 2022-06-05
    methodName()方法将抛出IOException异常,方法正确定义的形式是()
    A: public
    IOException methodName()
    B: public
    void methodName() throw new IOException
    C: public
    void methodName() throw IOException
    D: public
    void methodName() throws IOException