一个a类实现了b接口,b接口中有一个c函数,在a中实现c函数时,要抛出异常,但是在b中定义时,c并未throws任何异常,应当怎样做。
可以抛出RuntimeException
RuntimeException