Which of the following is a method of the HttpSession interface and is used to retrieve the time when the session was created?
The getCreationTime() method returns the time when the session was created. The time is measured in milliseconds since midnight January 1, 1970. This method throws an IllegalStateException if it is called on an invalidated session.
Answer D, B, and C are incorrect. These methods do not exist in the HttpSession interface.
Currently there are no comments in this discussion, be the first to comment!