Here is the code for the questions below
pic = makeEmptyPicture(100,100)
pixy = getPixel(pic, 70, 30)
setColor(pixy, blue)
pixie = pixy
setColor(pixie, red)
1.What is the meaning of the instruction pixie = pixy in the code above? which one of this is the answer
a. Make the pixie variable refer to the same pixel object that pixy already refers to
b. Make a copy of the pixel object referred to by pixie, and store it in the variable pixy
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here