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

  Reducing the average memory access time

Suppose that increasing the line size to 128 bytes increases the H to 0.97. Does this reduce the average memory access time?

  Explaining class definition of subclass of square

Write down the class definition of subclass of Square called FancySquare which has a method called getDiagonal. The getDiagonal method gets no arguments.

  Building instruction set simulators

Building Instruction Set Simulators

  Function to count number of times the given number occured

Write a main function to input 20 integers in the range of 1 to 6. Write a function to count the number of times the numbers 2 and 5 occur. The function should declare static variables count2 and count5.

  Matrix multiplication code with mpi

Matrix multiplication code with MPI. At the beginning of each of the programs, write names of group members in the comment line.

  Travelling salesman problem

Travelling Salesman Problem on the L1-metric plane.

  Creating printstream object using dos

Create a PrintStream object using dos and assign the resulting reference to ps, a PrintStream variable that has already been declared.

  Create application which permits user to input a price

Create an application which allows a user to input a price until suiatble sentinel value is entered. Output is a price of each item on each day,one through seven.

  Create child processes

Create child processes

  Explain some ways tables can be used on web page

Tables are one of the most useful page layout tools available to web designers. Explain some ways tables can be used on a web page. Elaborate on other ways to achieve the same look.

  Object-oriented analysis and design

Object-Oriented Analysis and Design,  PART B-object-oriented design involves the steps 13-18:

  Write a perl program

Write perl program which will run on my system and will start another perl program on another linux system. The main program should wait for linux perl program to complete its work and send the result to my main perl program.

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