make a java program
This project was awarded to anhdnbk for $30 USD.Get free quotes for a project like this
Project Budget$10 - $30 USD
Basic description: Each departments have different courses, e.g., ITMD 510 Each course may have classes, e.g. ITMD 510-05 School has different kinds of persons: Instructor: teaching classes Undergradate student: taking classes Graduate student: taking classes
Enroll and teaching functions: Student can enroll in more than one classes. But they cannot enroll in difference classes that belong to a same course. Each class can be enrolled by multiple students Each class only have one instructor – they may be the same instructor One instructor may teach multiple classes Undergraduate student must take 3 courses Graduate student must take 2 courses
Requirements 1): [don’t use Java Inheritance] Create a project named as “Enrollment”. Create a class named as “MyProgram” which will feature with the main method. You should put this class in a Java package named as [url removed, login to view] Create classes (Person, GraduateStudent, UndergraduateStudent, Instructor, Course, Class) in individual java source codes; put your classes into two different Java packages: [url removed, login to view]: including Java classes like GraduateStudent, Person, UnderGradauteStudent, Instructor [url removed, login to view]: including Java classes like Course and Class For classes related to human beings, they all have: id, name, gender For courses and classes, they all have: id, name; class additionally has “sectionID” and “day of week”, such as Monday, Tuesday, etc Override toString() method for your Java classes if necessary Create your objects: 1 undergraduate students, 1 graduate students, 3 instructors, 5 courses, 10 classes; complete their enrollment and teachings You can output a list of all students, instructors and classes Given a student, your program can output a list classes he/she took Given an instructor, your program can output a list of classes he/she taught Use console streams to create students, classes, instructors, complete enrollments and teaching. And your program should complete the output request by using student or instructor as input You may need to store a list classes for each student/instructor
A sample of console user interface is as follows:
When you output the student and instructor information, please only update their identity (such as undergraduate student, graduate student, instructor), ID, name and gender; When you ouput a list of classes given by a student or instructor, please output the couseID, classSectionID, name and day of week;
Requirements 2): Create a project named as “Enrollment2”. This time, complete the requirements above, but use Java Inheritance It is flexible for you to design different classes and inheritance, but you must complete the exactly same functions described with same user interfaces You must design at least one class as abstract class and have at least one subclass which is derived from this abstract class. You must design at least one interface and have at least one class which will implement this interface.
You need to use Eclipse to create two projects: Enrollment and Enrollment2 Your final submissions should include one document and two zip files The document includes the snapshots of your programs which can demonstrate how your programs work – they should show you have completed each requirements – similar to the inputs and outputs in the console user interfaces You should zip your Eclipse project folders and submit two zip files: [url removed, login to view] and [url removed, login to view] – each zip file should include your entire Eclipse project folder, for example, your source codes must be included
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online