JAVA INTRO Create a program that generates a report that displays a list of students, classes they are enrolled in and the professor who teaches the class. There are 3 files that provide the input data: 1. FinalRoster.txt List of students and professors ( The first value of each row indicates if it is a student or professor;  S means a student , P means a professor) Student and Professor have different data Student row: "S",Student Name, StudentID Professor row: "P", Professor Name, Professor ID, Highest Education 2. FinalClassList.txt List of classes and professor who teach them Each row contains the following information: ClassID, ClassName, ID of Professor who teach that class The professor ID in this file matches the Professor ID in FinalRoster.txt. 3. FinalStudentClassList.txt List of classes the students are enrolled in. (StudentID, ClassID) Student ID matches Student ID in FinalRoster.txt and ClassID matches Class ID in FinalClassList.txt The output shall be displayed on screen and stored in a file in the format described in FinalOutput.txt You will need to apply all course concepts in your solution (file handling, class design, array/arraylist, loops, if/else conditional check) 1. Student and Professor should be derived from a super class "Person" 2. Every class should implement toString and equals method 3. Exception handling (e.g. FileNotFound etc.) must be implemented 4. Source code must be documented in JavaDoc format 5. Do not hard code number of students, professors or classes.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter8: I/o Streams And Data Files
Section8.5: A Case Study: Pollen Count File Update
Problem 4E
icon
Related questions
Question

JAVA INTRO

Create a program that generates a report that displays a list of students, classes they are enrolled in and the professor who teaches the class.

There are 3 files that provide the input data:

1. FinalRoster.txt

  • List of students and professors ( The first value of each row indicates if it is a student or professor;  S means a student , P means a professor)
  • Student and Professor have different data
    • Student row: "S",Student Name, StudentID
    • Professor row: "P", Professor Name, Professor ID, Highest Education

2. FinalClassList.txt

  • List of classes and professor who teach them
  • Each row contains the following information: ClassID, ClassName, ID of Professor who teach that class
    • The professor ID in this file matches the Professor ID in FinalRoster.txt.

3. FinalStudentClassList.txt

  • List of classes the students are enrolled in. (StudentID, ClassID)
  • Student ID matches Student ID in FinalRoster.txt and ClassID matches Class ID in FinalClassList.txt

The output shall be displayed on screen and stored in a file in the format described in FinalOutput.txt

You will need to apply all course concepts in your solution (file handling, class design, array/arraylist, loops, if/else conditional check)

1. Student and Professor should be derived from a super class "Person"

2. Every class should implement toString and equals method

3. Exception handling (e.g. FileNotFound etc.) must be implemented

4. Source code must be documented in JavaDoc format

5. Do not hard code number of students, professors or classes.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 4 images

Blurred answer
Knowledge Booster
File Input and Output Operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT