The Document class holds basic details about a document. It has two fields: name and content.
This class lets students provide feedback. Feedback can be created directly with a message and name or interactively by typing a message during runtime.
Helps students start a new project by entering a title and description. It shows a success message with project details after creation.
Represents a student with an ID, name, and password. It supports login and logout with printed messages for confirmation.
Saves student data to a file named students.txt and can load the list of students from that file. Each student's info is saved on a new line.
- Make sure Java is installed on your system (check using
java -version). - Save each Java class in the student package inside separate
.javafiles (e.g.,Document.java,Feedback.java, etc.). - Open your terminal and navigate to the folder where your files are saved.
- Compile the code using:
javac student/*.java - Create a
Main.javafile with amainmethod to test your classes. - Run the program using:
java student.Main
Tip: You can also test each class by adding main methods temporarily in the classes themselves.