Solved

Case Study 1: 1. MyCanvas = Canvas (800, 600)

Question 30

Multiple Choice

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 Canvas class?


A) It will have a draw method.
B) It will be constructed with two Points.
C) It does not have a constructor.
D) It will have three instance variables.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions