A passenger in a moving motor vehicle is not permitted to:

It is unlawful for anyone to drink from or possess an open container of alcohol while in a motor vehicle that is on a public road. Failure to adhere to this law will result in negative consequences for the driver.
DMV Writen Test