There are two mistakes in the following code, which attempts to draw a line from coordinates (50,

Question:

There are two mistakes in the following code, which attempts to draw a line from coordinates (50, 86) to (20, 35). What are they?

DrawingPanel panel = new DrawingPanel(200, 200);

panel.drawLine(50, 20, 86, 35);

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: