用户自定义异常类需要继承现有的异常类Exception类或其子类,且命名时以Exception结尾。
查看答案
在可能出现异常的地方,根据if判断是否抛出异常,满足异常抛出条件的时候,才抛出异常。
A. 对
B. 错
The BHP Billiton protocol covers gifts, hospitality and entertainmentthat may be offered to BHP Billiton employees by business associates.
A. 对
B. 错
BHP Billiton employees must make a note about any gift they receive.
A. 对
B. 错
BHP Billiton employees can accept expensive gifts.
A. 对
B. 错