✏️ Explanatory Question
| Keyword | Purpose |
|---|---|
throw |
Used to manually throw an exception. Example: throw new IOException("Error!"); |
throws |
Declares that a method might throw an exception. Example: void readFile() throws IOException |