Hey all.
I am writing a program for a class and I am having a weird issue with a constructor.
In my
test program, I am trying to do the following:
The Room class is as follows:
Now the problem is that the first Room constructor in the test program is bringing back a NullPointerException while the second constructor is working just fine and returning the "Null Room Name" exception message. When I try to step through the test program, I get a "ClassNotFoundException" on the first Room constructor.
Any idea what the heck is going on?
Thanks!