当前学科:计算机科学与技术
  • 题目: 未知类型
    Give incompleted method:

      //one

      {if(unsafe()){//do something …}

      else if(safe()){//do the other …}

      }

      The method unsafe() will throw an IOException, which completes the method of declaration when added at line one。()

      A.public void methodName() throws IOException

      B.public void methodName() throw IOException

      C.public void methodName()

      D.public IOException methodName()

    答案: <查看本题扣1积分>

    查看答案

    答案不对?请尝试站内搜索