The trait is inherited via sex linkage, with the gene being located on the X chromosome. Since all females were wild type, it suggests the wild type allele is dominant, and since the yellow body was only observed in males, it confirms its sex-linked as the gene is on the X-chromosome.