0% found this document useful (0 votes)
3 views6 pages

Student Record Management System Code

Uploaded by

poposhwezinphyo
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views6 pages

Student Record Management System Code

Uploaded by

poposhwezinphyo
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Programming Assignment Unit 3

Here’s the code snippets for Student Record Management System:


1. Student Class represents a student entity with attributes such as name, ID, age, and
grade. It has a constructor to initialize these attributes.

2. StudentManagement Class contains static methods to manage student data. It


maintains an array of Student objects and keeps track of the total number of students.

addStudent adds a new student to the system by creating a new Student object and
adding it to the array.
updateStudent updates the information of an existing student based on their ID.

viewStudentDetails displays the details of a student based on their ID.

3. StudentRecordManagementSystem Class is the main class where the program


execution begins. It provides an interactive menu-driven interface for administrators
to perform various operations on student records.

It continuously displays a menu with options to add a new student, update student
information, view student details, or exit the program.

Depending on the user's choice, it prompts for necessary inputs (e.g., student name,
ID) and calls the corresponding methods in the StudentManagement class to perform
the requested operation.

It handles invalid menu choices and provides appropriate error messages.

>>>Here’s the output for how this system works:


References:
Eck, D. J. (2022). Introduction to programming using java version 9, JavaFX
edition. Licensed under CC 4.0
[Link]

You might also like