Java MCQ Set 1 1. What is the function of the XML parser? a) Converts XML document to XML DOM object b) Converts XML DOM object to XML document c) Converts XML DOM object to a comment d) None of the mentioned AnswerAnswer: a [Reason:] An XML parser converts an XML document into an XML…