Question: in java EX 3 . 1 5 Write a declaration for each of the following: a . A line that extends from point ( 6

in java
EX 3.15 Write a declaration for each of the following:
a. A line that extends from point (60,100) to point (30,90).
b. A rectangle that is 20 pixels wide, 100 pixels high, and has its upper-left corner at point (10,10).
c. A circle that is centered at point (50,75) and has a radius of 30.
d. An ellipse that is centered at point (150,180) and is 100 pixels wide and 80 pixels high.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!