Imagine that you want to set the inactive time for a particular servlet to 10 minutes. Which of the following is the preferred way to do it?
HttpSession.setMinInactiveInterval(10);
HttpSession.setMinInactiveInterval(10 * 60);
HttpSession.setMaxInactiveInterval(10 * 60);
HttpSession.setMaxInactiveInterval(10);