How can you fill a boolean vector with numbers in every spot instead of false/true?
public static void initateTakenWords(boolean[] takenWords)
{
for(int i = 0; i<takenWords.length; i++)
{
takenWords [i] = i;
}
}
this is my code in one of my methods, but i cant initialize numbers to the takenWords vector.