Question: Can I get help with these coordinates? Consider the code segment below (g is a Graphics object): g.drawLine(100,100, 150, 150) g.drawLine(50,150, 150, 150) g.drawLine(100,100, 50,150)
Can I get help with these coordinates?
Consider the code segment below (g is a Graphics object): g.drawLine(100,100, 150, 150)
g.drawLine(50,150, 150, 150)
g.drawLine(100,100, 50,150) What kind of figure does it draw?
============================
| A) a rectangle. |
| B) a triangle. |
| C) a V with its corner at the top. |
| D) a | square. |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
