Now on to your question. At some point up the hierarchy, the parent class of a JSP is a
servlet. It's extremely poor practice to put code in a JSP, so in a real application, I would be hard pressed to find a reason to know the name of the parent class. I would explain this to an interviewer and offer to look it up.