CSC113_Lab12 - Your program should be able to: a Student...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
King Saud University College of Computer and Information Systems, Department of Computer Science CSC 113: Java Programming-II, Spring2011, 12 April, 2011 Lab #12 : Linked List Write a program, which maintains a linked list of Students. For each Student you should store: Name ID and age. Implement a class Student with appropriate methods: setters’ methods, getters methods, etc. Student - StudentId : int - StudentName : String - StudentAge : int + Student() + Student(stuId:int, stuName:String, age:int) + getter / setter() When your program starts up, it should read the data. You will maintain a linked list of Student’s objects.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Your program should be able to: a Student from the last nt the Student’s name. You should present a menu to the user as follows: Main Menu Choose one option: 1. Add Student 2. Delete Student 3. Find Student 4. Print names 5. Exit King Saud University College of Computer and Information Systems, Department of Computer Science CSC 113: Java Programming-II, Spring2011, 12 April, 2011 Lab #12 : Linked List A user should be able to continually use the system until he chooses ‘5’. Make sure that if there are no Students on the list, you give an appropriate message....
View Full Document

Page1 / 2

CSC113_Lab12 - Your program should be able to: a Student...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online