click below
click below
Normal Size Small Size show me how
Java - Ch. 6
Java Chapter 6
| Question | Answer |
|---|---|
| Best way to develop and maintain a large program is to construct it from small, simple pieces, or... | Modules |
| Math.PI is (blank) method as its value never changes. | Final |
| Three ways to call a method: | 1)method name by itself to call another method of the same class 2) variable that contains a reference to an object, followed by(.) and the method name 3) Using the class name and a dot (.) to call a static method of a class |
| Class Random produces... | pseudorandom numbers |
| Pseudorandom numbers are a sequence of values produced by a complicated mathematical equation. The calculation uses the (blank) to (blan) the random number generator. | The current time of day, seed |