Javacodes's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Active Members
Active Posts:
63 (0.07 per day)
Joined:
07-March 12
Profile Views:
2,651
Last Active:
User is offline Feb 01 2013 07:23 AM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   Javacodes has not set their status

Posts I've Made

  1. In Topic: How could i find?

    Posted 27 Sep 2012

    Ty Ser. I get it. :D
  2. In Topic: How could i find?

    Posted 27 Sep 2012

    Opps. Sorry. My mistakes. But what should be my main if i would find and count same coin in my purse?
  3. In Topic: How could i find?

    Posted 27 Sep 2012

    View Postpbl, on 26 September 2012 - 08:44 AM, said:

    Why don't you simply declare your
    class Purse extends ArrayList<Coins>
    ?
    You won't need your method add() and count() anymore

    As far as you getMaximum() method is concerned, don't see why it wouldn't work
    and it will be a lot simpler if Purse extended ArrayList<Coin> :)


    How could i do that?
  4. In Topic: How could i find?

    Posted 26 Sep 2012

    Ty for your time Ser. I reaallly appreciate it. :)
  5. In Topic: What's wrong with this?

    Posted 18 Sep 2012

    View Postkarabasf, on 18 September 2012 - 06:30 AM, said:

    Ah, now I see, change my proposal to

    coins = new ArrayList<Coin>();
    
    


    And:
    private ArrayList coins; //Is normally placed above the constructors of the class, hence I missed this
    
    //to
    private ArrayList<Coin> coins;
    
    


    due to type safety ;) (Explained in my last edit of my last post)

    i did the change. Nothing happen. That's i go back to my old codes. :( Ty for the time ser.

My Information

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

Contact Information

E-mail:
Private

Comments

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