举例说明 try 、 catch 和 throw 语句的用法。 6. ... Print ( ) Validate ( )图 8-1 Customer 类的结构提示:如果数据不正确,那么 Validate ( )函数应该抛出异常。
確定! 回上一頁