Similar Books


    No books found

Title
Chapter: 14 / Q: 25
(Random points on a circle) Modify Programming Exercise 4.6 to create five random points on a circle, form a polygon by connecting the points clockwise, and display the circle and the polygon, as shown in Figure 14.51b
Chapter: 14 / Q: 26
(Use the ClockPane class) Write a program that displays two clocks. The hour, minute, and second values are 4, 20, 45 for the first clock and 22, 46, 15 for the second clock, as shown in Figure 14.51c
Chapter: 14 / Q: 27
(Draw a detailed clock) Modify the ClockPane class in Section 14.12 to draw the clock with more details on the hours and minutes, as shown in Figure 14.52a
Chapter: 14 / Q: 28
(Random time) Modify the ClockPane class with three new Boolean properties— hourHandVisible, minuteHandVisible, and secondHandVisible—and their associated accessor and mutator methods. You can use the set methods to make a hand visible or invisible
Chapter: 14 / Q: 29
(Game: bean machine) Write a program that displays a bean machine introduced in Programming Exercise 7.21, as shown in Figure 14.52c
Chapter: 14 / Q: 14
(Display a rectanguloid) Write a program that displays a rectanguloid, as shown in Figure 14.47a. The cube should grow and shrink as the window grows or shrinks
Chapter: 15 / Q: 1
(Pick four cards) Write a program that lets the user click the Refresh button to display four cards from a deck of 52 cards, as shown in Figure 15.24a
Chapter: 15 / Q: 2
(Rotate a rectangle) Write a program that rotates a rectangle 15 degrees right when the Rotate button is clicked, as shown in Figure 15.24b
Chapter: 15 / Q: 3
(Move the ball) Write a program that moves the ball in a pane. You should define a pane class for displaying the ball and provide the methods for moving the ball left, right, up, and down, as shown in Figure 15.24c
Chapter: 15 / Q: 4
(Create a simple calculator) Write a program to perform addition, subtraction, multiplication, and division, as shown in Figure 15.25a
total questions: 772

Questions

772

Views

A PHP Error was encountered

Severity: Warning

Message: Undefined property: stdClass::$TotalViews

Filename: books/book.php

Line Number: 411

Best Answers

299

Points

5