Page 14 - Abstract Class, Interface & Struktur Data
P. 14
Declaring Exceptions
• Every method must state the types of checked exceptions it
might throw. This is known as declaring exceptions.
• public void myMethod() throws IOException
• public void myMethod() throws IOException, OtherException