PrintCards - // Creates and prints a random set of playing...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
//******************************************************************** // PrintCards.java Author: Lewis and Loftus // // Solution to Programming Project 4.3 //******************************************************************** / public class PrintCards { //-----------------------------------------------------------------
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: // Creates and prints a random set of playing cards. //-----------------------------------------------------------------public static void main (String args) { final int NUM_CARDS = 20; Card card; for (int count=1; count <= NUM_CARDS; count++) { card = new Card(); System.out.println (card); } } }...
View Full Document

This note was uploaded on 05/17/2011 for the course COP 3530 taught by Professor Davis during the Spring '08 term at University of Florida.

Ask a homework question - tutors are online