| CSCI A201/A597Takehome Quiz Four Second Summer 2000 |
Questions:
paint method of an applet? When
does the call to the paint method occur?
paint method have
type Graphics and not Graphics2D?
e be any ellipse. Write Java code to plot the ellipse e
and another ellipse of the same size that touches e. Hint: You need to look
up the accessors that tell you the dimensions of an ellipse.
Intersect.java, by computing Run the program. What happens to the intersection points?double root = Math.sqrt(r * r + (x - a) * (x - a));
Intersect program and give a value of 30 for the
x-position of the vertical line. Without actually running the program, determine what
values you will obtain for the intersection points.