单项选择题

如何创建Cookie?()

A.使用newCookie语句
B.调用responsE.addCookie方法
C.使用Cookie的setMaxAge方法
D.setCookie方法