Open gitu25 opened 3 months ago
Thank you for creating this issue! đ
We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! đ
You can also check our [CONTRIBUTING.md] for guidelines on contributing to this Domain.
Go Ahead
Student Management System
A simple Java-based application for managing students and courses.
Features
Usage
StudentManagementSystem.java
file.Classes
Student
: Represents an individual student with attributes like id, name, and email.Course
: Represents a course with attributes like course name and a list of enrolled students.StudentManagementSystem
: Manages students and courses, providing methods to add, remove, enroll, and display information.Methods
addStudent(int id, String name, String email)
: Adds a new student.removeStudent(int id)
: Removes a student by id.addCourse(String courseName)
: Adds a new course.enrollStudentInCourse(int studentId, String courseName)
: Enrolls a student in a course.unenrollStudentFromCourse(int studentId, String courseName)
: Unenrolls a student from a course.displayStudentInfo(int studentId)
: Displays information about a student.displayCourseInfo(String courseName)
: Displays information about a course.