Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

procedural programming Java code example

import java.util.*;

public class Game
{
  public static void main(String[] args)
  {
    Random rand = new Random(System.currentTimeMillis());
    int[] D = Card.makeDeck();
    Card.shuffle(D,rand);
    for(int top = 0; top < D.length; top++)
      System.out.println(Card.cardToString(D[top]));
  }
}
Source by www.usna.edu #
 
PREVIOUS NEXT
Tagged: #procedural #programming #Java #code
ADD COMMENT
Topic
Name
2+2 =