This is just a
testing program, that's why you see the "//code goes here"'s. I'm just trying to get it to create and print a set for me
Here's my code:
And here's the error it gives me:
java.lang.ExceptionInInitializerError
Caused by: java.lang.NullPointerException
at settest.MyArraySet.<init>(Main.java:50)
at settest.Main.<clinit>(Main.java:11)
Could not find the main class: settest.Main. Program will exit.
Exception in
thread "main"
Exception in thread "main"
Java Result: 1
The 50th line(that it shows in the error) is the 43rd line(in my code pasted here), and the 11th line is the 4th line. It says it couldn't find Main, does anybody know why that is?