Abstract: A method for forming a p-type semiconductor film comprises the steps of: providing on a substrate a group II-VI compound semiconductor film which is doped with a p-type impurity and comprises either MgXZn1−XO (0≦X≦1) or CdXZn1−XO (0≦X≦1) and activating the p-type impurity by annealing the doped semiconductor film.