Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nav7fsc/studentlistproject
https://github.com/nav7fsc/studentlistproject
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/nav7fsc/studentlistproject
- Owner: nav7FSC
- Created: 2024-09-02T00:50:27.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-02T01:32:33.000Z (5 months ago)
- Last Synced: 2024-11-25T07:51:41.339Z (2 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