黄浩哲吧 关注:7贴子:60
  • 1回复贴,共1
测试一下


1楼2019-06-24 21:07回复
    You have been tasked with writing a program that expects user input and, as always users do not always enter the right sort of information. As a consequence some of the code you have written will cause some methods calls to throw exceptions. Some of these methods throw unchecked exceptions whilst others return an invalid value (e.g. -1 or null). What is the differences between a checked and unchecked exception? Why do some methods return invalid values rather than throwing an exception?以上测试


    2楼2019-06-24 21:09
    回复