My goal is to print out all the words in the array and make sure they are in a string.( In order). So far I'm at:
public class Freddy {
    private String[] words = new String[]{"Hello", "name", "is", "Bob"};
    public String toString() {
        for (int i = 0; i <words.length; i++)
            System.out.println(words[i]);
        return null;
    }
    public static void main(String[] args) {
    System.out.println();//Not sure not to print out here. When I say print(words) it gives error "Error:(16, 24) java: non-static variable words cannot be referenced from a static context"
    }
}
Thanks!
 
     
     
    