Share on Google+Share on Google+

deerthi nagaraj
to devolp javaprogram
0 Answer(s)      5 years and a month ago
Posted in : Java Beginners

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.

Ads

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
Java basics
be similar to class name. (ex. If class name is JavaProgram than file name should
Displaying Hierarchical data in JTree
;JavaProgram", "JavaNews",  "Java","project"...;JavaTeamName->Amit Java: JavaProgram ->JavaBook->Java->JavaProgram  
Tutorials   
Java Spring Hibernate Struts Training Retrieve database from the table dynamically in jsp from oracle using servlet What does core Java include? java What are some way to learn Java quickly? Is it required to learn Java before learning Java Script? Is it necessary to learn java script before learning PHP? Are HTML5 and Java Script boosts Java career? Is Java object oriented? Fingerprint application with Java Uninstall Oracle Virtual Box JSON to HashMap Free Java online Training I want example of Control Statement in Java ANSI Color Codes with Python Create a Program that Calculates Input What is difference between JDK,JRE and JVM? How to see ubuntu version on server? How to get Page Source in Selenium (WebDriver) using Java? The path to the driver executable must be set by the webdriver.gecko.driver system property parse data from a link in java Java Program Qns using BlueJ How to fix HAX Kernel Module Is Not Installed error? Installing Audacity Looking for code Logic to check track changes & Coments in MSWord, MSWordx, MSExcel, MSExcelx is ON/OFF Installing JDK on Mac SAX Parser exception ERROR 601 (42P00): Syntax error. Encountered Thread java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory How to install Ubuntu 16.04 LTS? HttpServletRequest cannot be resolved to a type in eclipse - Solved Unhandled event loop exception GC overhead limit exceeded Spring Data jpa with apache phoenix Caused by: java.lang.IllegalArgumentException: Not a host:port pair: PBUF o.a.h.h.z.RecoverableZooKeeper - Possibly transient ZooKeeper, quorum= com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager class not found com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager not found How to download and install Java 8 on Windows? How to uninstall JDK 7? How to install gtk-doc-tools package in Ubuntu? How to install Oracle JDK 8 on Ubuntu? ejabberd_ctl.beam not found - Solved How to convert date to UTC format in Java? How to install autoconf, automake and libtool in Ubuntu 15.10? How to convert current date to mm dd yyyy format in Java? How to convert current date to dd mm yyyy format in Java? How to stop window closing in "internalFrameClosing" event. How to find list of all index in Neo4j? neo4j-server.properties file location SASLError using PLAIN: not-authorized

Ads

 
Advertisement null

Ads