public class ArrayDemos extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
(package private) int[] |
a |
Constructor and Description |
---|
ArrayDemos() |
Modifier and Type | Method and Description |
---|---|
private void |
changeElement(int[] array,
int position,
int newValue) |
private void |
changeValue(int a,
int newValue) |
static void |
main(String[] args) |
void |
run() |
int[] a
public ArrayDemos()
private void changeValue(int a, int newValue)
private void changeElement(int[] array, int position, int newValue)