Results 1 to 5 of 5
Thread: creating class
- 11-18-2010, 09:33 AM #1
Member
- Join Date
- Nov 2010
- Posts
- 1
- Rep Power
- 0
- 11-18-2010, 10:23 AM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,422
- Blog Entries
- 7
- Rep Power
- 17
It's your turn now ...Java Code:public class Transaction { private double price; private double commission; private double discount; public Transaction(double price, double commission, double discount) { this.price= price; this.commission= commission; this.discount= discount; } // rest of the code/methods go here ... }
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
-
Dear OP, you realize that your question constitutes a "homework dump" where you show your assignment requirements but don't show any evidence that you've done a lick of work. Please prove that you're not lazy or intellectually challenged by showing us what you've done and asking a specific question based on your own efforts.
- 11-18-2010, 02:52 PM #4
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
- 11-18-2010, 02:55 PM #5
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,422
- Blog Entries
- 7
- Rep Power
- 17
Similar Threads
-
Help with creating a class
By cdawg_2010 in forum New To JavaReplies: 22Last Post: 11-03-2010, 05:34 AM -
Creating a test class
By joshft91 in forum New To JavaReplies: 6Last Post: 11-01-2010, 05:30 AM -
problem in creating a class that should always run in the server
By harsha.udupa2008 in forum New To JavaReplies: 1Last Post: 07-14-2010, 02:56 PM -
Help creating a Date class
By Meta in forum New To JavaReplies: 17Last Post: 04-30-2010, 09:28 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks