Write a method called random100 that returns a random integer in the range of 1 to 100 (inclusive).
What will be an ideal response?
```
public int random100()
{
Random generator = new Random();
return generator.nextInt(100) + 1;
}
```
You might also like to view...
To use the binary_search() algorithm you need to include ___________
a. two arguments which are iterators b. two header files, algorithm.h and search.h c. three arguments which are two iterators and a value d. one argument which is a value e. None of these
How many times will this loop execute?
``` for ( int i = 1 ; i <= 1 0 ; i++) System.out.println ( i ) ; ```
Special high-speed memory locations that are in the CPU are called ____________.
Fill in the blank(s) with the appropriate word(s).
Audit trails only record unsuccessful access attempts.
Answer the following statement true (T) or false (F)