1. How would you call randomInRange to obtain a random age in the range 16 to 59 inclusive?
2. Rewrite the CarCounter program so that the count is displayed in a text field rather than a message dialog
3. Explain why the ticks variable cannot be local.
4. In the Raindrops example, the current position of the knob is displayed in a text field. What are the consequences of altering the initial position of the knob in the call of JSlider constructor?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here