Results 1 to 3 of 3
  1. #1
    acash229 is offline Member
    Join Date
    Sep 2010
    Posts
    60
    Rep Power
    0

    Default Java Computer Shop Help (Please)

    Hey guys I am still learning how to use simple java. I want to try to do this program which i found in some book, but i cant seem to get how to started. They say its a beginners program, but i found it quite difficult on how to start.

    can someone please give me some way to start the code, so i can at least look and learn.

    thanks

    Here are the instructions for this java program:

    Create a pricing system for a company that makes individualized computers, such as you might see on a Website. There are two kinds of computers: notebooks and desktop computers. The customer can select the processor speed, the amount of memory, and the size of the disk drive. The customer can also choose either a CD drive (Cd rom, cd-rw), a DVD drive, or both. For notebooks, there is a choice of screen size. Other options are a modem, a network card, or a wireless network. You should have a abstract class Computer and subclasses Desktop and Notebook. Each subclass should have methods for calculating the price of a computer, given the base price plus the cost of the different options. You should have methods for calculating memory price, hard drive price, and so on. There should be a method to calculate shipping cost.


    Thanks

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    We've had this discussion before -- you're far better making an attempt at this first and showing us what you've got than by asking others to help you get started.

    Much luck.

    edit: and the instructions give you exactly what you need for creating the classes.
    Last edited by Fubarable; 01-22-2011 at 11:47 PM.

  3. #3
    acash229 is offline Member
    Join Date
    Sep 2010
    Posts
    60
    Rep Power
    0

Similar Threads

  1. Replies: 0
    Last Post: 03-06-2010, 07:15 PM
  2. Computer Shop - New Version
    By mindblaster in forum New To Java
    Replies: 6
    Last Post: 02-10-2010, 01:00 PM
  3. Help needed with 'shop' program
    By jkhamler in forum New To Java
    Replies: 1
    Last Post: 12-06-2009, 06:35 PM
  4. Do you have Virus scan computer code for Java
    By star24h.com in forum New To Java
    Replies: 5
    Last Post: 11-08-2009, 04:07 AM
  5. E-shop with error
    By snowbirdie in forum Advanced Java
    Replies: 1
    Last Post: 05-04-2008, 06:35 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
  •