Search:

Type: Posts; User: copeg

Search: Search took 0.10 seconds.

  1. Replies
    4
    Views
    1,509

    [SOLVED] Re: problem with instantiating object

    That is what is written. Check your brackets to create separate classes, or better yet pull all those classes into their own class files.
  2. Replies
    4
    Views
    1,509

    [SOLVED] Re: problem with instantiating object

    Do you want Rank and Suit to be inner classes of Card? If so (as is currently written), you need to specify this when referring to them (eg Card.Rank.QUEEN)
Results 1 to 2 of 2