Create a college course to display the course data

Assignment Help Programming Languages
Reference no: EM1355691

Create a class named CollegeCourse that includes data fields that hold the department(for example, "ENG"), the course number (for example, 101), the credits(for example, 3),and the fee for the course(for example, $360). All of the fields are required as arguments to the constructor, except for the fee, which is calculated at $120 per credit hour. Include a display() method that displays the course data. Create a subclass named LabCourse that adds $50 to the course fee. Override the parent class display() method to indicate that the course is a lab course and to display all the data. Write an application named UseCourse that prompts the user for course information. BIO, CHM, CIS, or PHY. If the user enters any other department, create a CollegeCourse that does not include the lab fee. Then display the course data. Save the files as CollegeCourse.java, LabCourse.java, and UseCourse.java.

Reference no: EM1355691

Questions Cloud

Write a program to compute the probability : Write a program (or a peudocode) to compute the probability that at least 2 people have the same birthday, given there are 2, 3, 4,....,60 people in the room.
Convergence of ifrs and us gaap : Discuss the efforts made toward convergence of International Financial Reporting Standards (IFRS) and U.S. Generally Accepted Accounting Principles (GAAP) on the financial performance reporting by business enterprises.
Calculate the minimum lease payment : Real estate, Inc., has purchased a building for $1 million. the economic life of the building is thirty years and it will be fully depreciated over the thirty years using the straight line depreciation method.
Important characteristics of generally accepted accounting : Explain the important characteristics of Generally Accepted Accounting Principles or standards. Why are these characteristics of GAAP important?
Create a college course to display the course data : Create a CollegeCourse that does not include the lab fee. Then display the course data. Save the files as CollegeCourse.java, LabCourse.java, and UseCourse.java.
Allowance-direct write-off method : What is possible "consequence" of using the allowance method rather than the direct write-off method? The method fits the matching principle, is GAAP, the SEC likes it better, sounds better for investors, what could be bad?
Enormous global markets for standardized consumer products : The emergence of enormous global markets for standardized consumer products - What actions can a firm take to minimize its global tax liability? On ethical grounds cans such actions be justified?
Determine the value of per share : This company pays a perpetual annual dividend of 2.5 percent of its par value. Par value is $100 per share. If investors require rate of return on this stock is 15%, determine the value of per share?
Illustrate what do you think about the idea that technologic : Illustrate what Do You Think About The Idea That Technological And Medical Advances Would Bring An End To Hunger, Disease, Drudgery, And Unemployment In The United States

Reviews

Write a Review

Programming Languages Questions & Answers

  Program for class quiz to implement measurable interface

State a class Quiz to implement Measurable interface. A quiz has a score and a letter grade (such as B+).

  Develop a simple program for inventory system

You have to develop a simple program for an inventory system. You can choose any type of business (ie: Medical supplies, bakery, grocery shop, florist etc.)

  Implement functions using x86 assembly

Implement a procedure that mimics a logic unit

  What are the contents of given register

Memory location 2000H has the word 5000H stored in it. What does each location contain after INC BYTE PTR[2000H]. Also after DEC WORD PTR[2000H]

  Distinguishing web pages or web servers for task

Distinguish between any Web pages or Web servers you would use for this task.

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

  Communicate with a pc using the rs232c serial protocol

In this assignment we will use the UART0 peripheral to communicate with a PC using the RS232C serial protocol.

  Write pseudocode to accept candy name

Write a pseudocode for the following: A programm to accept a candy name (for exmple, "chocolate-covered blueberries'), price per pound, and number of pounds sold.

  Program to compute person earns in a month

Write a program that calculates how much a person earns in a month if the salary is one penny the first day, two pennies the second day, four pennies the third day.

  Smallest and largest values in element floating-point array

Copy 11-elemts array source into first portion of 34-element array sourceCopy. Find out the smallest and largest values in 99-Element floating-point array data.

  Write class postfixevaluator to evaluate postfix expression

Write a class PostFixEvaluator that evaluates postfix expression such as 6 2 + 5 * 8 4 / -. Program must read a postfix expression consisting of digits and operators into a StringBuffer.

  Program to use next character to create and return operator

Convert the string of digits into an integer. Otherwise, use the next character to create and return an operator.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd