Another man was shot in the foot and a third was wounded in the arm. More than 25 rounds were fired into the group, police said. The dead and wounded were not armed.
Police believe the shooting is gang-related.
The victims were visiting the park when they were approached by at least four others, homicide Lt. Ray Sigwalt said. One of the four displayed a gun and began shooting as others also drew guns and opened fire. When the boys saw the officers, they ran from the car, San Diego police spokesman Bill Robinson said. One of the boys was apprehended after a chase into a canyon.