1. Assume you are writing code to serialize a group of Studentobjects to an XML document. What Java API method will you call toexecute the serialization process? NOTE: You must use the XMLserialization/deserialization method/concepts presented in thiscourse.
2. Assume that the list of exception types below may occurwithin the scope of a method. In order to properly handle theseexceptions, each type must be handled individually andseparately.  Arrange the exception types in theorder in which your code must address them to insure thatno type \"falls through\" to be processed along with anyother type. (HINT: These are all Java API exception types.)
5 points
IOException
Exception
FileSystemException ÂÂ
NoSuchFileException