Yes. Same for male and female.
The length of the bill can be used to distinguish male to female. However, this is not easy at all. There may be other methods as well. We need careful birdwatchers or photographers to work on problems like this.
HF Cheung