This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: CS1MD3 FinalReview. 1 Final Review For Chapters 14, see Midterm Review. Chapter 5 1. Different services provided by a method and a program. Where do you normally put readInt ? 2. The pattern of a method definition (parameters and return). What is a predicate method? 3. Designing a method (parameters vs. constants). 4. Calling a method of an object (receiver). 5. The mechanics of the method-calling process (local variables and stack frame). Figure 5-5, p.154. Chapter 6 1. Define an instance variable to hold the RandomGenerator object. The syntax and the location of the definition. 2. Generating random values (int, double, boolean, Color), Figure 6-1, p. 180. 3. Writing documents in the javadoc style. For example, Figure 6-5, pp. 192193. 4. Defining a class (constructors, methods, instance variables). 5. Constructors and methods with multiple parameter forms under the same name (overloading)....
View Full Document
- Winter '07