java.lang.ObjectListGenerator
public class ListGenerator
Creates an ArrayList of random numbers in the range 1-99 inclusively.
| Constructor Summary | |
|---|---|
ListGenerator(int num)
Constructor |
|
| Method Summary | |
|---|---|
void |
displayList()
Displays each number in the list on the console |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListGenerator(int num)
num - number of intiial elements in the list| Method Detail |
|---|
public void displayList()
none -