Results 1 to 2 of 2

Thread: jGrasp Project

  1. #1
    New4Java is offline Member
    Join Date
    Nov 2012
    Posts
    1
    Rep Power
    0

    Lightbulb jGrasp Project

    I need assistance with a jGrasp project.

    These are the particulars:

    Design and code an object-oriented program that will store information about CDs and DVDs in a database. Use a class to represent your database. In addition to basic object-oriented concepts such as classes, objects and encapsulation, your program must demonstrate aggregation, inheritance and polymorphism.

    The information stored for each CD is:
    the title of the album
    the artist (name of band or singer)
    the number of tracks on the CD
    the total playing time
    The information stored for each DVD is:
    the title of the DVD
    the name of the director
    the total playing time

    Demonstrate your program by asking the user whether they want to add a CD or DVD to the database and then prompt them for the appropriate information and store that item in the database. Your program should continue to ask the user if they want to add an item to the database until the user enters a sentinel value. After all items have been added, your program should display complete information about every item in the database including whether it is a CD or DVD.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,820
    Rep Power
    19

    Default Re: jGrasp Project

    What have you done and where are you stuck?
    Please use [code] tags [/code] when posting code, and only post code relevant to your problem.

    Also include the full text of any compilation errors.
    Should it execute then include the full text and stack trace of any exceptions, highlighting the line in your code they are thrown from.
    Should it execute and not throw an exception then please explain in what way it is not working.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. JGrasp cant find java?
    By maskanio in forum New To Java
    Replies: 4
    Last Post: 11-03-2012, 03:41 AM
  2. Help with JGrasp
    By bane13 in forum New To Java
    Replies: 1
    Last Post: 01-28-2012, 11:52 PM
  3. java jgrasp pingpong
    By torlejv123 in forum Java Applets
    Replies: 1
    Last Post: 11-26-2010, 11:57 PM
  4. jGRASP debugger
    By TsAmE in forum New To Java
    Replies: 2
    Last Post: 02-23-2010, 09:35 PM
  5. GUI with jGRASP
    By Matt Sakko in forum Other IDEs
    Replies: 0
    Last Post: 03-14-2009, 10:50 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •