Java - Exception Handling
How should you declare a method named loadData that might throw a FileNotFoundException?
How should you declare a method named loadData that might throw a FileNotFoundException?
throws is used followed by the exception type after the method parentheses.throws FileNotFoundException after the method signature.throws keyword correctly [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions