Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 6 of 6

Thread: Need help with school question

  1. #1
    Junior Member
    Join Date
    May 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need help with school question

    Hi all, i just got this question today and need to submit the answer in two days.
    I don't know how to do this or even how to start it, i so much need your help. Here is the question:

    Master Video Club sells and rents movie videos to customers.
    To borrow a movie video a customer must register with Master Video Club. A
    registered customer can borrow any number of movie videos for a maximum of 3
    days. If the movie video is not returned after 3 days the customer is fined a fixed
    penalty. The customer must settle the fine to be able to rent movie videos.
    A customer can buy any number of movie videos. The manager purchases new
    movies from suppliers and makes a maximum of ten copies for each movie. A copy is
    removed from stock if it is damaged. The copies are available for rent or for
    purchase. Master Video Club keeps a minimum of 3 copies for rental to its registered
    customers.
    Tasks:-
    You are required to identify the requirements from the scenario given above and
    implement a system for Master Video Club using Java as programming language. The
    system must provide basic functionalities for:-
    - creating a new movie
    - adding copies of new movie to stock
    - perform a sale
    - perform a rental
    - return a movie
    - update stock
    - adding a customer
    - purchase a new movie from a supplier
    You can add other relevant functionalities as per the scenario.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Need help with school question

    It looks more like a programming assignment than a question.
    What have you tried? Do you have any specific questions about the assignment?
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    May 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Need help with school question

    yes i did try, i have been creating the classes but im all lost and have not been so good at java.
    this itself is the question, the system should be able to do the stuff listed. can you help me please?

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Need help with school question

    this itself is the question, .... can you help me please?
    Yes, we'll try to help you write the code for your assignment.

    What do you have now?
    Do you have any specific questions about the problems you are having?
    Work on one problem at a time. When you get it solved, move to the next problem.
    What is the current problem you are working on?
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Junior Member
    Join Date
    May 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Need help with school question

    actually i don't know how to start with this question. what are the things i should have ready to be able to work on this?
    i opened my netbeans and im all blank :/ i missed the last couple of classes and im not understanding how to start with this.

  6. #6
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Need help with school question

    Start by making a list of the classes needed and the methods that are needed.
    classes are for things
    methods do something with/for the thing

    For example:
    To borrow a movie video a customer must register with Master Video Club
    The red items would be methods,
    the green items would be classes
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. School work Question 1
    By Loh Jane in forum Java Theory & Questions
    Replies: 3
    Last Post: April 19th, 2014, 02:27 PM
  2. Simple java beginners question (for school)
    By Jeesie in forum Java Theory & Questions
    Replies: 5
    Last Post: November 7th, 2012, 06:32 PM
  3. School Help
    By scot_stuf in forum Java Theory & Questions
    Replies: 4
    Last Post: September 22nd, 2012, 04:31 PM
  4. School Help
    By JavaNewb in forum Loops & Control Statements
    Replies: 1
    Last Post: March 24th, 2010, 09:31 PM
  5. Java program for to implement supermarket menu
    By 5723 in forum AWT / Java Swing
    Replies: 1
    Last Post: April 14th, 2009, 03:14 AM