Answer: Will for the Zebra it's both because the males ability is to reproduce but at a young age they can be sexually. Giraffes on the other hand reproduce asexually.
Explanation: this was a weird question that I can say but hopefully this was help to you.