6. THe 3 Aliasing occ 7. urs when two variables refer to the same object. 8. Th
ID: 3729376 • Letter: 6
Question
6. THe 3 Aliasing occ 7. urs when two variables refer to the same object. 8. Th e copy method is provided to make a copy of a graphics object. 9. A graphics window always has the title "Graphics Window." 10. The method in the graphies library used to get a mouse click is readMose Multiple Choice 1. A method that returns the value of an object's instance variable is called a(n) a)mutatorb) function c) constructor d) accessor 2. A method that changes the state of an object is called a(n) stator b) mutator c) constructor d) changor 3. What graphics class would be best for drawing a square? a) Square b) Polygon c) Line d) RectangleExplanation / Answer
1. A method that return's value of object's instance variable is called - accessor (option d)
2. A method that changes the state of an object is called a - mutator (option b)
7. Which of the following computes horizontal distance between points - abs(p1.getX() - p2.getX()) option d
10. What color is color_rgb(0, 255, 255)? cyan option b
Please specify the programming language and post the remaining questions.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.