Hey Norm,
I'm going to have a buddy help me figure it out in person. I think it's a bit too complicated to figure out my mess over the internet, but I appreciate your time.
Thank you
Type: Posts; User: RadicalCaitlin
Hey Norm,
I'm going to have a buddy help me figure it out in person. I think it's a bit too complicated to figure out my mess over the internet, but I appreciate your time.
Thank you
The values are read in from a csv file... but I moved the code around to be:
public Stack(int x){
maxSize = x;
stateArray = new State[maxSize];
top = -1;
}
this Priority (id=17)
maxSize 0
stateArray null
count 56
This is what it says.
Exception in thread "main" java.lang.NullPointerException
at Priority.<init>(Priority.java:9)
at Project2.main(Project2.java:37)
So I have 3 classes in this project, and I'm to the point where I have no idea what I'm doing, so if anyone could help me with anything, I would greatly appreciate it.
When it compiles, I get a null...
Hello,
my name is Caitlin. I'm very new to Java and it hasn't clicked yet. I'm trying to get a better understanding.
Thanks in advance to anyone who helps me!
-Caitlin