【单选题】下列选项中,能够正确创建Cookie对象的语句是()
选项:
A:Cookie c = new Cookie(“name”,”haust”);
B:Cookie c = request.getCookie(“name”);
C:Cookie c = response.getCookie(“name”);
D:Cookie c = session.getCookie(“name”);
发布时间:2024-03-28 09:39:58