The Lollipop was the name of the fictional starship that Commander William T. Riker claimed he served on in a ruse he devised in 2364.
During a visit to Minos, in 2364, Riker was approached by a holographic duplicate of captain Paul Rice of the USS Drake and questioned about his ship, which Rice believed to be the USS Enterprise-D.
Riker responded that Rice was incorrect, and that "the name of my ship is the Lollipop." When Rice did not recognize the name, Riker told him that "It's just been commissioned. It's a good ship." Rice pressed on, undeterred, further asking Riker "What's the armament on the Lollipop?", at which point, Riker, who was annoyed with the ruse, responded only with the unqualified quantities "Ten" and then "Six" which the hologram could not understand. Once Riker proved to the hologram that it was indeed not Rice, it reverted into the form of an Echo Papa 607 system drone, before firing on Riker, encasing him in an "energy field". (TNG: "The Arsenal of Freedom")