Experts said a man facing trial for murder and attempted murder is likely to be the attacker on the seafront, a court heard.