J
justineee
Hello,
For example, I have an array of strings and these is its elements:
String[] array = new String [5];
array[0] = "blah";
array[1] = "hello";
array[2] = "help please";
array [3] = "pleaseeee";
then in the last element I would input "blah", how would I make my
program not add it into the array because "blah" is already present in
the array??
THANKS IN ADVANCE.
For example, I have an array of strings and these is its elements:
String[] array = new String [5];
array[0] = "blah";
array[1] = "hello";
array[2] = "help please";
array [3] = "pleaseeee";
then in the last element I would input "blah", how would I make my
program not add it into the array because "blah" is already present in
the array??
THANKS IN ADVANCE.