Create a class named college course

Assignment Help JAVA Programming
Reference no: EM132094558

Create a class named College Course 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 Lab Course 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.

If the user enters a class in any of the following departments, create a LabCourse: 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.

Please submit the source code for your program along with a word document that includes screen shots of the compiled results and executed output. The page margins on the top, bottom, left side, and right side should be 1 inch each.

Attachment:- Assignment.rar

Verified Expert

This sample assignment is about identifying whether or not the course is associated with the department of the college or not. If associated then provides the details of the course as : the department to which it belongs, it’s number, the credit score for the course and fee to be paid for the same. By which a student joining it and can get attached with the department of his/her choice (provided that the department should be department of BIO,CHM, CIS or PHY).

Reference no: EM132094558

Questions Cloud

Identify the resources needed to implement your action plan : Identify the resources (physical, personal, technology) needed to implement your action plan. Determine the criteria that you would use to determine.
Use of violent imagery and language : Comment on the CEO's use of violent imagery and language (burning platform, death, war) as a motivational tool. What are the pros and cons?
Create a schedule for your projects lifecycle : Project schedule: Using Microsoft® Project and the WBS you developed above, create a schedule for your project's lifecycle.
Their easy chairs in front of home entertainment systems : Although many people still prefer going to an actual movie theater, more and more are settling back in their easy chairs in front of home entertainment systems,
Create a class named college course : Programming Assignment - Create a class named College Course that includes data fields that hold the department - All of the fields are required as arguments
More accountable for their business activities : Many business choose to operate in formats which will limit personal liability. Should these individuals be held more accountable for their business activities?
What is leadership and management : What is leadership and management? Do you think all leaders managers or all managers leaders?
Spartan systems reported total sales : Spartan Systems reported total sales of $305,000, at a price of $25 and per unit variable expenses of $15, for the sales of their single product.
Negotiation and conflict resolution in mergers : You will be required to obtain the Gung Ho film, locate five case articles of mergers and acquisitions in the literature, and then prepare a paper

Reviews

len2094558

8/23/2018 11:00:48 PM

PLEASE INDENT THE CODE AND PLEASE MAKE SURE THERE ARE COMMENTS IN GREEN (//add the tax. Is an example.) THROUGHOUT THE WHOLE CODE. I WILL ALSO ATTACH A COPY OF AN ASSIGNMENT THAT IS EXACTLY RIGHT FOR YOU TO SEE AS AN EXAMPLE. THANK YOU SO MUCH!

Write a Review

JAVA Programming Questions & Answers

  Implement 1-parameter date constructor that receives string

Date objects should store the date in two int instance variables: day and month, and it should include the String instance variable, error, initialized with null.

  Draw dashed lines

Write a class Lines containing a static method dashedLine to draw dashed lines, so it can write:

  Modify the factorial method with a recursive call

You may want to add such display capabilities to other recursion examples and exercises throughout the text.

  Write erring section of code and explain what the error is

The class below has some errors. For each error do the following: Write the erring section of code and explain what the error is.

  Discuss the use of arrays in java programs

Discussion Question: Discuss the use of arrays in Java programs versus the use of regular variables

  Quadratic and double hashing

The methods you should use in building your has functions are linear, quadratic and double hashing. Your code should provide create, insert, ?nd and delete operations on that table.

  A program that prompts the user for the name of a text file

Write a program called CountLetters.java that prompts the user for the name of a text file, reads in all of the text in that file, and then computes.

  Create a class to represent a rectangle

Create a class to represent a Rectangle. Your class should contain instance variables for length and width, as well as member method to calculate the area and perimeter

  Write a program to display the customer''s name

Write a program that prompts the salesperson for the name of the customer and the price of the textbooks sold to that customer.• The program should display the customer's name and the total compensation

  Display the money currently held in the vending machine.

Display money currently held in vending machine. Display vending machine inventory. This command should result in displaying a description and current quantity.

  Print out the stock with the highest profit if sold

After the table is displayed, print out the stock with the highest profit if sold and its position in the array[row][column].

  Write a java program based on the pseudo code you designed

Write a Java program based on the pseudo code you designed. The program should have meaningful variable names CSE1PGX.

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