A simple Java-based console application to manage student records. It allows users to dynamically add student details and displays the complete list of students.
- Add Students dynamically: Input student ID, Name, Age, and Course through the console.
- Data Validation: Basic validation for numeric inputs (ID and Age).
- View Records: Displays a formatted list of all student records in the system.
- Pre-populated Data: Starts with some sample data for demonstration.
- Java Development Kit (JDK) installed on your system.
- Open your terminal or command prompt.
- Navigate to the project directory where
College.javais located. - Compile the Java file:
javac College.java
- Run the compiled Java program:
java College
Upon running the application, you will be prompted to add a new student.
- Type
yesto enter details for a new student (ID, Name, Age, Course). - Type
noto exit the input loop and view all the stored student records.