Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a class named Student that includes String data fields titled firstName and lastName, and an integer field titled studentID. Create a constructor that requires

Create a class named Student that includes String data fields titled firstName and lastName, and an integer field titled studentID. Create a constructor that requires two String parameters and one integer parameter to populate the firstName, lastName, and studentID fields. Create a LinkedList of 20 Student objects each having different first names, last names, and student IDs. Print your LinkedList, first in the order your items were placed onto the LinkedList and then in reverse order. Save your files as Student.java and ClassRoster.java. Compile and run the program until it works and the output looks nice, add the necessary documentation as described in Course Documents, and then attach your .java file(s) to this assignment. Do not attach the .class file(s), attach only your source code. This assignment is due the last day of the academic week.

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

Step: 3

blur-text-image

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

Graph Database Modeling With Neo4j

Authors: Ajit Singh

2nd Edition

B0BDWT2XLR, 979-8351798783

More Books

Students also viewed these Databases questions