✏️ Explanatory Question
throw → used to manually generate an exception.
throws → used to declare that a method might throw an exception.
Example:
void myMethod() throws IOException {
throw new IOException("File not found");
}