
/**
 * Write a description of class Card here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Card
{
    // instance variables - replace the example below with your own
    private int x;

// ###############  CARD CONSTRUCTOR  ####################  
    /**
     * Constructor for objects of class Card
     */
    public Card()
    {
        // initialise instance variables
        x = 0;
    }

// ###############  CARD CONSTRUCTOR  ####################  
    /**
     * Constructor for objects of class Card
     * 
     * @param  in   Sets the value for the private x variable.
     */
    public Card(int in)
    {
        x = in;
    }
// ###############  SAMPLE METHOD  #################### 
    /**
     * An example of a method - replace this comment with your own
     * 
     * @param  y   a sample parameter for a method
     * @return     the sum of x and y 
     */
    public int sampleMethod(int y)
    {
        // returns x + y
        return x + y;
    }
}
