John F. Kennedy Jr., the only son of the assassinated president, has passed the Connecticut state bar examination, allowing him to practice law in the state, judicial officials said Friday.

The name John Fitzgerald Kennedy of New York, N.Y., was on the list released Friday of those passing the exam, said Lawrence Moore, a spokesman for the Connecticut Judicial Department.Kennedy twice has failed the New York State bar examination and the results of his third try July 24 are expected next week.

Kennedy, 29, must pass the New York bar or give up his $30,000-a-year job.

Connecticut officials did not know why Kennedy took the Connecticut bar exam, or if he planned to practice law in the state.