Staplers's Profile User Rating: -----

Reputation: 0 Apprentice
New Members
Active Posts:
9 (0.01 per day)
26-October 12
Profile Views:
Last Active:
User is offline Feb 17 2013 08:04 PM

Previous Fields

Dream Kudos:
Icon   Staplers has not set their status

Posts I've Made

  1. In Topic: ArrayList question

    Posted 30 Jan 2013

    I'm getting an error, but thanks for your help.
  2. In Topic: Method Confusion

    Posted 2 Dec 2012

    Of course haha. I fixed it, the solution wasn't exactly like yours but it would have helped you if you saw the whole code. Thanks!
  3. In Topic: Method Confusion

    Posted 2 Dec 2012

    That is actually what I had initially but I thought it was wrong, because I tried to add coins to my purse using the addCoin() method in my tester class and I was getting an error. Unless I am doing it wrong.
    public class PurseTester {
    	public static void main(String[] args) {
    		Purse[] purseOne = new Purse[5];
    		Coin dime = new Coin(10, "dime");
    		Coin dime2 = new Coin(10, "dime");
    		Coin quarter = new Coin(25, "quarter");
    		Coin quarter2 = new Coin(25, "quarter");
    		Coin nickel = new Coin(5, "nickel");
    		Coin penny = new Coin(1, "penny");
    		Purse.addCoin(dime); //Here is the error

    It tells me I cannot make a static reference to a non-static method.
  4. In Topic: Multiplication Issue

    Posted 26 Oct 2012

    Never mind I found the solution.
  5. In Topic: Multiplication Issue

    Posted 26 Oct 2012

    Thanks, I fixed this issue. However, I ran it again and it still returned 0 coins even though I had two slots similar to each other, that should have multiplied my money entered by 2. I can't seem to find the problem.

My Information

Member Title:
New D.I.C Head
Age Unknown
Birthday Unknown

Contact Information



Staplers hasn't added any friends yet.


Staplers has no profile comments yet. Why not say hello?