Java   View all facts   Glossary   Help
syntactic unit > keyword > throws
Next keyword: transient    Up: keyword    Previous keyword: throw   

throws comparison table
Subject have purpose is an instance of is a kind of is a subtopic of have example has definition
keyword  syntactic unit  A word that has special meaning in Java
throwsto indicate a throws clausekeyword Exception Handling
// A method definition with a throws 
public void open_file() throws IOException {
// Statements here that might generate an uncaught java.op.IOException
}
 

Next keyword: transient    Up: keyword    Previous keyword: throw