Description
This Section comprises part 1 to part 5 below. This should be done in Java and submitted as a NetBeans project.
Part 1: Building an IDisplayable interface
Create an interfacer IDisplayable, with an abstract method called display that is used to
display an appropriate message to the user about the class that implements the IDisplayable interface and the ‘aloes of any class variables.
public abstract void display();
Create a class that implements the interface, and also a test class that will create an
instance of the class and call the display method. The class is simply to demonstrate that the interface can be implemented, and there are no specific requirements on what fields it should have.
All classes that you build for this Section must implement the IDisplayahle interface and the display method should be used to present appropriate class information to the user.
Part 2: Building a Student class
Create a class, Student that has the following data for a student:
- studentilD
- name
- number of subjects
4.marks for each subject
5.date of enrolment
- Student category: full-Orne/part-time
Provide appropriate getter and setter functions. Also create a test class that should use method to display field values.
Part 3: Building a Stiudentlist class [15]
Create StudentList class that holds the Students in a double-linked list by designing your own class rather than using Java collections. The class should provide methods for:
- Inserting a new student
- Removing a student
- Searching by studentID
- Searching by name
- Displaying all the studemi data together with average marks
Create a test class to exercise the methods of StudentList class.
Part 4: Reading/ Writing data from/to a file
Studeritust data should be written to a file on quitting the application and similarly read from the file into the Studentlist instances the program runs.
This code should be written as methods in the Studentlist class.
Part 5: Fulling the parts together
The application should display a menu that has options to exercise code in parts and .1 well as display help and to quit the application.
Remember to make your program as robust as possible; so think of the possible error
conditions that are likely to occur in each of the scenarios given above and cater for these in your application(s) Prnarks), Remember also that you should fully document your application (s) so that appropriate Java Documentation can be produced by running Javaidoc











