How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Raj Your Own Question
Raj, Engineer
Category: Homework
Satisfied Customers: 1290
Experience:  4 + Experiance in IT Industry
Type Your Homework Question Here...
Raj is online now
A new question is answered every 9 seconds

How do I fix this programming error below?

This answer was rated:

How do I fix this programming error below? MusicalEntertainment is not abstract and does not override abstract method setEntertainmentFee() in Entertainment
public class MusicalEntertainment extends Entertainment
Hi There,

I will be helping you with the requirment.
To view the problem I will have to look at the code that you are trying to compile and run along with the requirement file.

Can you please provide me the code files to review along with the requirement file in form of PDF or MS Word file?

Thank you
Customer: replied 3 years ago.




publicclass MusicalEntertainment extends Entertainment
private String typeOfMusic;

public MusicalEntertainment()

publicvoid setTypeOfMusic()
typeOfMusic = JOptionPane.showInputDialog (
null, "What kind of music does this act play? ");

publicvoid setEntertainment()
fee = 600;

public String toString()
return(entertainer + " features " + typeOfMusic + " music; the fee is $ " + fee + " per event. ");







publicabstractclass Entertainment
protected String entertainer;
protectedint fee;
public Entertainment()
setEntertainerName(); setEntertainmentFee();

public String getEntertainerName()
return entertainer;

publicdouble getEntertainmentFee()
return fee;
publicvoid setEntertainerName()
entertainer = JOptionPane.showInputDialog(
null, "Enter name of enterainer ");
publicabstractvoid setEntertainmentFee();



Can you pleae compress all the files you have all together into one file and than post it using the steps below and provide me the information i have highlighted in BOLD in STEP 3 below:

STEP 1: GOTO Website
STEP 2: Upload your file there.
STEP 3: When Upload is 100% Complete it will provide the following details for the file:
FILE ID and Download Link
STEP 4: Copy both the details and post them here.

Thank You.
Customer: replied 3 years ago.

Hi Raj,


I post the abstract file and the extends of the abstract


Abstract ( ID 111796

extends ( ID 450086

Ok Give me few min to analyze them and I will provide you the compiling version of the code.

You need to spend $3 to view this post. Add Funds to your account and buy credits.
Raj and other Homework Specialists are ready to help you
Customer: replied 3 years ago.

Thank you very much!


I really forgot that part of my list.

For some reason.

The example in the book did not include that as part of the program example.

You are welcome and No problem.

If you want any help in future than just begin your question with TO RAJ followed by the question.

Have a good day.

Related Homework Questions