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 LogicPro Your Own Question

LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 12563
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
29751445
Type Your Homework Question Here...
LogicPro is online now
A new question is answered every 9 seconds

Hello I need help with my java program can you help me?

This answer was rated:

Hello I need help with my java program can you help me? I have to write a java program that allows employees to keep track of customers and videos in the store. if you need the program email me  at [email protected]. I need this before 5pm today plz. I need to implement class named customer and VideoStore here is the program


 


public


 


class Example {
   
publicstaticvoid loadMovie(VideoStore videoStore,String title,int year,String genre) {
        System.out.println(
"Adding movie: \"" + title + "\"");
        videoStore.addMovie(title, year, genre);
        System.out.println(
"***VideoStore Database***"); 
        System.out.println(videoStore);
        System.out.println();
    }

   
publicstaticvoid loadCustomer(VideoStore videoStore,String firstname,String lastname,String address) {
        System.out.println(
"Adding customer: " + firstname + " " + lastname);
        videoStore.addCustomer(firstname, lastname, address);
        System.out.println(
"***VideoStore Database***"); 
        System.out.println(videoStore);
        System.out.println();
    }

   
   
publicstaticvoid main(String[] args) {       
        String results =
"", info;
       
        VideoStore videoStore =
new VideoStore();
       
       
       
/* Adding some movies and printing the database status after each add */
        loadMovie(videoStore, "Eclipse", 2004, "Horror");
        loadMovie(videoStore,
"Compilation in Outer Space", 1976, "Action");
        loadMovie(videoStore,
"A Simple Homework", 1990, "Comedy");
       
       
/* Adding some customers and printing the database status after each add */
        loadCustomer(videoStore, "John", "Smith", "8th Street Bethesda CA");
        loadCustomer(videoStore,
"Rose", "Peterson", "101 Road RiverTown CA");
        System.out.println(
"***All movies***\n" + videoStore.allMovies() + "\n");
        System.out.println(
"***All customers***\n" + videoStore.allCustomers());
       
        System.out.println(
"\n***Looking for Horror movies***");
       
if ((info = videoStore.findMovies("Horror", -1)) != null)
            System.out.println(info);
       
        System.out.println(
"\n***Looking for movies released on or after 1989");
       
if ((info = videoStore.findMovies(null, 1989)) != null)
            System.out.println(info);   
       
        System.out.println(
"\n***XXXXX XXXXX is renting the movie \"Eclipse\"");
       
if (videoStore.rentAMovie("John", "Smith", "Eclipse") == 0)
            System.out.println(videoStore);
    
        System.out.println(
"\n***Looking for the movie \"Eclipse\"");
       
if ((info = videoStore.findMovie("Eclipse"))!= null)
            System.out.println(info);
         
       System.out.println(
"\n***XXXXX XXXXX is returning the movie \"Eclipse\"");
       
if (videoStore.returnAMovie("John", "Smith", "Eclipse") == 0)
            System.out.println(videoStore);
    }
}

Hi,
Welcome here.
My name is XXXXX XXXXX I will help you.
If you have any file(s), Zip all files; upload the zipped file to http://wikisend.com or http://ge.tt and post download link here.

Customer: replied 3 years ago.


I put the program in my question

Customer: replied 3 years ago.


I am going to send you the instrcutions


 


go to this website http://www.cs.umd.edu/class/fall2004/cmsc131/Homeworks/hw6.html

ok, I will review it and reply you ASAP.
Customer: replied 3 years ago.


ok thanks

Welcome
Customer: replied 3 years ago.


Did that information help?

yes, Please check back in 3-4 hours.
Customer: replied 3 years ago.


ok I most certainly will

Customer: replied 3 years ago.

I only have to do everything above the Additonal Classes in the instruction anything below that ignore! Thanks again

welcome
Customer: replied 3 years ago.

but use that example program to help guide and my output has to look like that output

ok
Pleease provide Tests.java and
Test1Results.txt and Test2Results.txt - Text files used by the Tests.java module to check your results against the expected results.
Customer: replied 3 years ago.
I am sorry don't follow that those instructions I gave you were as a guide to me.
ok. Please check back in 1 hour
Customer: replied 3 years ago.
Ok thanks
Welcome :)
Download answer from here: VideoStore Java.zip

Unzip to get all the required files.
Run Example.java

You can ask me again using "For LogicPro only" at the start of your questions like other customers to get instant answers.

It will ensure that question is for me.

Please bookmark my profile page:

http://www.justanswer.com/homework/expert-logicpro/

so you can come back and ask me a question anytime.

Remember, if for any reason you are unsatisfied with my answer, we can continue the conversation until you’re satisfied and rate my answer as excellent. I can address follow up questions on original requirements at no extra charge and I’m always here to help.

Thank you for using this site!

LogicPro and 4 other Homework Specialists are ready to help you
Customer: replied 3 years ago.


ok how will I run this as one program?


 

THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.
LogicPro and 4 other Homework Specialists are ready to help you
Hi again,
Just following up with you to see how everything is going and if you have more questions for me.
You can ask me again using "For LogicPro only" at the start of your questions like you do to get instant answers.
It will ensure that question is for me.
Please bookmark my profile page:
http://www.justanswer.com/homework/expert-logicpro/
so you can come back and ask me a question anytime.
If you need any additional information on this answer, please don't hesitate to ask by clicking on 'Reply to Expert', and I will reply as soon as possible.
I hope you found the information in my answer helpful, and if so, please let me know, here. Thank you!
Thanks very much for using Just Answer!
Best wishes
LogicPro
Customer: replied 3 years ago.
Hey everything is going good and I will need your help in the future! And thanks a lot !
Welcome :)

Related Homework Questions