a) 3600 sec
b) 3600 min
c) 3600 hrs
d) the browser is restarted
Answer: a
Explanation: The lifetime is specified in seconds, so if the cookie should live 1 hour, this directive should be set to 3600.
Related Posts
What would be behaviour if the constructor has a return type?
What would be the behaviour if one parameterized constructor is explicitly defined?
What is not the use of “this” keyword in Java?
What is true about protected constructor?
Abstract class cannot have a constructor.
What is true about constructor?
What is true about Class.getInstance()?
Join The Discussion