Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2012
    Posts
    1
    Rep Power
    0

    Question Need help with a Sale Class

    I need to write a code for a Sale class. It must include a description of the item, the number of the item being sold, the cost of the item, cash or credit paid, (as boolean variable), a 10% discount for cash, 10% stored as a final variable.
    Ive been trying to figure this out as my quest to learn java, so if someone copuld point me in the write direction, or show me some code or anything. Thanks for any help!

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

    Default Re: Need help with a Sale Class

    Quote Originally Posted by mrjerrycollins View Post
    I need to write a code for a Sale class. It must include a description of the item, the number of the item being sold, the cost of the item, cash or credit paid, (as boolean variable), a 10% discount for cash, 10% stored as a final variable.
    OK, so we know in general what the assignment is.

    ...Ive been trying to figure this out as my quest to learn java, so if someone copuld point me in the write direction, or show me some code or anything. Thanks for any help!
    And you've posted a very general question, but no specific question with information as to what you may have tried and where exactly you might be stuck. So rather than have one of us re-write an introduction to Java tutorial, let me give you a link to one of the best: Trail: Learning the Java Language

    If later you need more specific help, please feel free to ask, but also, please show your code and ask as specific a question as possible. Best of luck!

    Oh, and welcome to our forum!

Similar Threads

  1. Sun voucher for sale
    By Shalu82002@yahoo.com in forum Java Certification
    Replies: 1
    Last Post: 05-11-2011, 02:44 AM
  2. Game for sale!!!!
    By doby162 in forum Reviews / Advertising
    Replies: 0
    Last Post: 03-15-2011, 04:24 PM
  3. for sale Sunspots
    By javadawg in forum Reviews / Advertising
    Replies: 0
    Last Post: 12-24-2010, 02:31 AM
  4. SCJP ticket for Sale
    By nphariharan in forum Java Certification
    Replies: 6
    Last Post: 07-14-2009, 12:38 PM
  5. SCJA Sun CD-ROM Package for Sale
    By Dutch_C0urage in forum Java Certification
    Replies: 0
    Last Post: 03-19-2009, 10:13 PM

Posting Permissions

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