Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Java CSDP 398 COMPUTER AND LANGUAGE TOPIC A (JAVA) Group Project Group Cooperation e This project is for a group of 3 students, with exception

Java
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
CSDP 398 COMPUTER AND LANGUAGE TOPIC A (JAVA) Group Project Group Cooperation e This project is for a group of 3 students, with exception of 2 in on group. . One or more students may work on a single class The requirements of the program should be analyzed so each student is given about the same work load The parameters and return types of each method and class member method should be decided in advance. . The program will be best implemented as a multi-file program Lcarning Objectives To learn how to use inheritance in Java to create extended classes. To practice writing compareTo, equals, and toString methods. e e To learn how to use Arrays in Java Specific Requirements We will begin the development of a simple University registration system that keeps track of students, instructors, and courses. We will have students and instructors that share many common traits such as names and social security numbers. By using the concept of inheritance, we can separate out the common entities that both Students and Instructors have and place these common elements in a separate Person class. Then we can inherit from this Person class and avoid writing the same code several times. Correspondingly, in our classes, if we have code that appears several times, we can abstract it out and place it in a separate method and have the method called when we need this particular functionality. In Instructor and Student, we will abstract out the common code in the two constructors (for each class) and place it in a method called setAttributes This way we have the code in a single place and, if we find errors, we only have to change it in one place to fix it In this project you will write five classes. The first will be a class that represents a person. The second will be a class that represents a college student. The third will an instructor The fourth class will simulate a class membership list. The fifth will be a test class to verify exhaustively the correctness of the other four classes; you should test at least once for each method. Notice that both the Student Class and the Instructor Class inherit from the Person Class A student is a special Person. An Instructor is also a special person, but is a different kind of special person than is a Student. It is important that you take advantage of the functionality of the super-class when you write these subclasses. The primary advantage of inheritance is to be able to reuse code

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

Database Processing Fundamentals Design

Authors: Marion Donnie Dutton Don F. Seaman

14th Edition Globel Edition

1292107634, 978-1292107639

More Books

Students also viewed these Databases questions

Question

What are the classifications of Bank?

Answered: 1 week ago

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago