He and a friend were walking back to the Stone Hedge Pub on Sunrise Highway in West Babylon after stopping by a gas station to buy cigars, police said.
The friend told police that someone in a vehicle parked on the service road in front of the bar called out Anderson's nickname, according to police. Anderson walked behind the car while the friend continued into the bar before a gunshot was heard, police said.
The investigation was ongoing, police said.
Anyone with information can call Crime Stoppers, 800-220-8477. All callers will remain anonymous.
With Gary Dymski