📜  java代码示例中的 throw 和 throws 关键字

📅  最后修改于: 2022-03-11 14:52:22.307000             🧑  作者: Mango

代码示例2
Throws keyword used for handling exceptions. 
  Where do you use it? Methods signature. 
 If you want to handling right away in selenium or Api use “throws” keyword.
Throw is creating an exception. Basically there are doing opposite. 
Where do you use it? We use it with in the block.