IOException (for file-related issues during serialization/deserialization).
ClassNotFoundException (thrown by ObjectInputStream.readObject() if the class cannot be found during deserialization).
the right option is E. At line n2, in the main method signature, add throws IOException, ClassNotFoundException.
upvoted 2 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Tojose
Highly Voted 1 year agoSrinivasJasti
Most Recent 2 weeks, 1 day agoTangaizw
2 months, 1 week agoxplorerpj
6 months, 3 weeks agoSamps
8 months, 4 weeks ago