Case Study 1:
1. myCanvas = Canvas (800, 600)
2. myLine = Line(Point (-100, -100) , Point (100, 100) )
3. myCanvas.draw(myLine)
-Refer to the session in the accompanying Case Study 1. What can be inferred about the Point class?
A) It has a method draw.
B) It is required to create a Canvas.
C) It has at least two instance variables.
D) It is a subclass.
Correct Answer:
Verified
Q3: In a hierarchy diagram, the most _
Q4: In inheritance, the more general class is
Q5: When two classes are connected by an
Q6: In an expanded object hierarchy for shapes,
Q7: Case Study 1:
1. myCanvas = Canvas (800,
Q9: The _ method of the screen is
Q10: What is the name of the property
Q11: In the object hierarchy presented in the
Q12: How do you call the constructor of
Q13: How do you designate that B is
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents