89.8k views
2 votes
Which of the following statements is correct?

A) public void read(String filename) throws IOException, ClassNotFoundException

B) public void read(String filename) throw IOException, ClassNotFoundException

C) public void read(String filename) throw (IOException, ClassNotFoundException)

D) public void read(String filename) throws IOException, throws ClassNotFoundException

User Prune
by
5.4k points

1 Answer

4 votes

Answer:

A

Step-by-step explanation:

I think is A. or maybe search up the topic of the lesson

User Vikas Dwivedi
by
5.2k points