https://github.com/nav773/studentlistproject
https://github.com/nav773/studentlistproject
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nav773/studentlistproject
- Owner: nav773
- Created: 2024-09-02T00:50:27.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-02T01:32:33.000Z (almost 2 years ago)
- Last Synced: 2025-07-09T12:11:39.278Z (12 months ago)
- Language: Java
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Student List Project
## Overview
The Student List Project is a simple Java application designed to manage and display a list of student names. The project consists of two main classes:
1. **Student**: Represents a student with a name.
2. **StudentLst**: Manages the list of students, collects input from the user, and displays the student names.
## Files
- `Student.java`: Contains the `Student` class with attributes and methods for managing student names.
- `StudentLst.java`: Contains the `StudentLst` class, which handles user input, creates `Student` objects, and displays the list of student names.
## Features
- **Student Class**:
- Holds the student's name.
- Provides a constructor to initialize the name.
- Includes getter and setter methods for the name.
- **StudentLst Class**:
- Prompts the user to enter names for a fixed number of students.
- Creates `Student` objects based on user input.
- Displays all student names in a formatted string.
## Example Input
- Enter student's name: Janet
- Enter student's name: Kenny
## Example Output
- Student Name: Janet
- Student Name: Kenny