Chapter5_reviewEx

Chapter5_reviewEx - f context as the canvas to which things...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 Solution Chapter5 Selected Review Exercises Java Concepts, by Cay Horstmann 4th ed. 1) A console application is a computer program designed to be used via a text-only computer interface. It does not have a graphical window.IT reads input from a keyboard and writes output to the terminal screen. A graphical application shows information and graphics inside a frame window: a window with a title bar. 4) Graphics context is a class through which a programmer can cause shapes to appear on a window off-screen bitmap. Think o
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: f context as the canvas to which things are drawn 5) the Component class uses paintComponent method to produce the drawing. The viewer class uses main method to construct a frame and the component class adds the component to the frame and mak e the frame visible. 11) The two intersection points do not show up right on top of the actual intersections. The two points are on the wrong place. Placing a 'minus -' after the radius should fix the problem....
View Full Document

Ask a homework question - tutors are online