posted 2 weeks ago
Hi, my simple program is not working. I created the package with the Student file within by using javac -d . Student.java after compiling it. Then, the ThisDemo class does not compile. I did some debugging and found issues, but still getting the exact same errors.
Just to reiterate- Student.java compiled fine, then I made test1 package with Student inside of it. After that, well, nothing works.
EDIT for console error:
The student not having main when being run was my mistake since it has no main, and the I forgot brackets for ThisDemo after args- but the other errors baffle me.