to devolp javaprogram

to devolp javaprogram

Problem Statement: Develop an application for a university course offering. There are to be classes for textbook, instructor, and course. This application should also have a driver class to test the other classes constructed.

Classes: 1. Textbook: this class is to have variables (fields) for isbn, title, and author(s). And, it should include a constructor, accessor and mutator methods for the fields, as well as toString and equals methods.
2. Instructor: variables to include are firstName, lastName, department, and email. Define a constructor and methods as done for Textbook. 3. Course: this class is an aggregation of data which includes a primitive variable for courseTitle, and variables for textbook and instructor classes. The Course constructor would initialize the primitive courseTitle and reference the textbook and instructor constructors to initialize fields for those classes. Include accessors and mutators and a toString method.

Driver or test program: The driver should offer the user choices to a) produce a course report or b) make comparisons of textbook title or instructor name between two courses. For the report choice, the program should be capable of retrieving values associated with course objects then printing those details. For comparisons, the program should allow the user to compare an instructor name or textbook title with those of another course. Data for several textbook, instructor and course objects are to be obtained from a file. For console input, include user prompts. Include descriptive headings or labels to identify output data.

View Answers









Related Tutorials/Questions & Answers:
to devolp javaprogram
to devolp javaprogram  Problem Statement: Develop an application for a university course offering. There are to be classes for textbook, instructor, and course. This application should also have a driver class to test
to devolp program
to devolp program  I want develop a program as a my project, i want idea to create
Advertisements
javaprogram 14
javaprogram 14  Write a java program to calculate the percentage of a student marks by using java airthmatic operators like +(addition),%(division).   import java.util.*; public class Student { public static void
javaprogram 26
javaprogram 26  Write a java progtram to create two classes commercial and domestic. override the metod calculatebill() of commercial class(Rs.8 per unit)into domestic class(Rs 6 per unit) to comput electricity bill for both
index of javaprogram
institute javaprogram
Java basics
name should also be similar to class name. (ex. If class name is JavaProgram than
Displaying Hierarchical data in JTree
;JavaTutorial", "JavaProgram", "JavaNews",  "...: JavaProgram ->JavaBook->Java->JavaProgram  

Ads