A kinetic analysis of the defect formation in a II–VI compound (ZnO) subjected to a flux of oxygen radicals has made it possible to develop a new method for obtaining single-crystal layers that uses a high-temperature heat treatment of the above single-crystal compound under these conditions. Using this method, a change from n-to p-type conductivity in ZnO is accomplished. This technology makes it possible to obtain heterostructures.