Cookies have names and values, both of which are strings. You need to
supply both when you construct a cookie, as in the following statement, in
which you name the Cookie
instance votes
and provide a
string, 0, as the cookie's value:
Cookie cookie= new Cookie("votes", "0");