int[] chromosome = {1,2,3,4,5,6,7,8,9,0};
Say the gene for blue eyes is the number 2. This number is stored at location 1 on the chromosome (array).
out.print(chromosome[1]); //expresses the gene
So then it would print:
2(expressing blue eyes)
That's all for this week.
-Frank
No comments:
Post a Comment