Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: nerazzuri

Search: Search took 0.01 seconds.

  1. Re: Problem with implementing a new class called Card

    so how should the constructor look????

    public Card(int rank, String suit){

    ???????

    }
  2. Re: Problem with implementing a new class called Card

    I'm setting this rank and suit instance variables to four values because that's the only way I can connect rank with what rank contain (ace, jack ,queen, king) the same with the suit variable. Is...
  3. Re: Problem with implementing a new class called Card

    Ok what you are saying is this i think:
    I declared two instance variables Rank and Suit


    private int Rank;
    private String Suit;

    the constructor look like this:

    public Card(){
  4. Re: Problem with implementing a new class called Card

    Ok what you are saying is this i think:
    I declared two instance variables Rank and Suit


    private int Rank;
    private String Suit;

    the constructor look like this:

    public Card(){
  5. Problem with implementing a new class called Card

    I am new at java programming so I need to make one class called Card. This class contains named constnts for the four Suits(CLUBS, DIAMONDS, HEARTS, SPADES) and four Ranks(ACE, JACK, QUEEN, KING)...
Results 1 to 5 of 5


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center