Students hear from state legislators