Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

why hasnt this question been answered yet? I need help understanding how to code this in Java Part one of this project requires you to

why hasnt this question been answered yet? image text in transcribed
I need help understanding how to code this in Java Part one of this project requires you to implement the complete class template for three classes: Student, Node, and DList. Each class is discussed below. Your code in main should only instantiate an object of each type. No other code should appear in main. Class Templates: Student: this class consists of three member variables - the name of the student, the sum of the student's grades, and the number of grades. The methods must include a default constructor and accessors and mutators for each member variable. Node: this class contains three member variables - a previous node reference, next node reference and a Student reference as the data portion. All appropriate methods are required as discussed in class. DList: this class will contain two member variables - a head and tail reference to Node. You must provide the following methods: default constructor, addHead, addTail, find Student, removeHead, remove Tail, printList. The method find Student will search for the student represented by the name passed in as the argument and if found, return the student object; otherwise, it should return null. Part 2: For this part of the assignment, you will use the objects you created to keep track of student grades. You will use a data file to load your DList with starting values. The file will be in the following format: studentname sumofgrades countofgrades Use a sentinel loop pattern to allow a user to choose an option from a menu allowing them to update a student record, remove a student record, display student information for all students, display a particular student's average grade, or exit. Some of these options will require additional information from the user. Modularize main as necessary

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

XML Data Management Native XML And XML Enabled Database Systems

Authors: Akmal Chaudhri, Awais Rashid, Roberto Zicari, John Fuller

1st Edition

0201844524, 978-0201844528

More Books

Students also viewed these Databases questions

Question

2. How will the team select a leader?

Answered: 1 week ago