{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

finalreview08f - CS1MD3 FinalReview.1 Final Review For...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CS1MD3 FinalReview. 1 Final Review For Chapters 1–4, 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. 192–193. 4. Defining a class (constructors, methods, instance variables). 5. Constructors and methods with multiple parameter forms under the same name (overloading). For example, Figure 6-7, p. 201. 6. Redefining (overriding) toString method. For example, Figure 6-7, p. 202.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}