Accused man gives evidence before final submissions heard in alleged rape trial