Return the size of the array of Cards
writing a Deck class that represents a deck of cards.  It starts off with 52 cards, but as cards are dealt from the deck, the number of cards becomes smaller.  this class has one private instance variable that stores the Cards that are currently in the Deck.  it is `private Card[] cards;`

i need to write a method that returns the size of the array of Cards.  (It starts off equal to 52, but becomes smaller as cards are dealt from the deck.)

would it be something like this?

	public int getNumCards() 
	{
		int getNumCards = 52;
		
		for(int i = getNumCards; i > 0; --i)
			getNumCards = i;
		
		return getNumCards;


	}
Return the size of the array of Cards
===

writing a Deck class that represents a deck of cards.  It starts off with 52 cards, but as cards are dealt from the deck, the number of cards becomes smaller.  this class has one private instance variable that stores the Cards that are currently in the Deck.  it is `private Card[] cards;`

i need to write a method that returns the size of the array of Cards.  (It starts off equal to 52, but becomes smaller as cards are dealt from the deck.)

would it be something like this?

	public int getNumCards() 
	{
		int getNumCards = 52;
		
		for(int i = getNumCards; i > 0; --i)
			getNumCards = i;
		
		return getNumCards;


	}