I'm trying to create a 'WordList' which contains any number of 'Word' instances.

my WordList class is just an array.
my Word class is an object which contains a String and a Boolean.

I thought I had the program figured out but I am just hitting walls at the moment... Can anyone please tell me if I'm going about this the wrong way or show me how the next step works?

import java.util.ArrayList;
 
public class ClassWordList{
	//Here I'm struggling with how to initiate this class because I don't know how to make it hold my array...
	String[] WSList;
 
	ClassWordList(){
		WSList;
	}
	//I understand that the above code won't run, but I'm not sure what to do with it at this point...
 
 
 
        //-------------------subclass---------------------
	public static class ClassWord{
		static String stringWord;
		Boolean booleanFound;
 
		ClassWord(String w, boolean f){
			stringWord = w;
			booleanFound = false;
		}
 
		public static String getStringWord(String w) {
			return (stringWord);
		}
 
		public static void setStringWord(String value) {
			stringWord = value;
		}
	}
	//------------------subclass end------------------
 
 
 
 
 
 
	//Here I have a method of creating the array, but I don't know how it should tie in with the WordList and the Word...
	ArrayList<ClassWord> objectWord = new ArrayList<ClassWord>();
}

Many thanks in advance for your help with my first post :)